Email::MIME::CreateHTML::Resolver::Filesystem(3pm)

Email::MIME::CreateHTML::Resolver::Filesystem3pm

Finds resources via the filesystem

Usage

        my $o = new Email::MIME::CreateHTML::Resolver::Filesystem(\%args)
        my ($content,$filename,$mimetype,$xfer_encoding) = $o->get_resource($uri)

Overview

This is used by Email::MIME::CreateHTML to load resources.

Methods

$o = new Email::MIME::CreateHTML::Resolver::Filesystem(\%args)

%args can contain:

base

Base directory used to resolve relative filepaths passed to get_resource.

($content,$filename,$mimetype,$xfer_encoding) = $o->get_resource($uri)

Todo

 - Currently the MIME type is deduced from the file extension via MIME::Types; given we have the content available, more sophisticated strategies are probably possible

Releases

9 releases since Debian 5.0 (Lenny); the text changed 6 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10–11
  7. 12–13

Author

Tony Hennessy, Simon Flack and John Alden with additional contributions by Ricardo Signes <[email protected]> and Henry Van Styn <[email protected]>

From libemail-mime-createhtml-perl 1.042-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.