NAME
Mail::Builder::Image - Helper module for handling inline images
SYNOPSIS
use Mail::Builder;
my $image = Mail::Builder::Image('/home/guybrush/invitation.gif','invitation');
$image->id('invitation_location');
print $image->serialize;
DESCRIPTION
This is a simple module for handling inline images. The module needs the path to the file and optional an id which can be used to reference the file from within the e-mail text.
USAGE
new
Simple constructor
Mail::Builder::Image->new(PATH[,ID]);
path
Accessor which takes/returns the path of the file on the filesystem. The file must be readable.
id
Accessor which takes/returns the id of the file. If no id is provided the lowercase filename without the extension will be used as an id.
serialize
Returns the image as a MIME::Entity object.
AUTHOR
Maroš Kollár
CPAN ID: MAROS
maros [at] k-1.com
http://www.k-1.com
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 140:
Non-ASCII character seen before =encoding in 'Maroš'. Assuming UTF-8