Mail::Exchange::Attachment - class to handle attachments to messages
use Mail::Exchange::Attachment; my $attachment=Mail::Exchange::Attachment->new("file.dat");
A Mail::Exchange::Attachment object reflects the data that Mail::Exchange::Message uses to add an attachment to a message.
Create a message object, and read
$file into it, if given.
setFile reads the file identified by
$filename, makes it the content object of the attachment, and sets various other attributes accordingly.
setFileInfo sets various properties of an attachment (filename, extension, creation/modification time) to correspond to the local file identified by
setFileName sets the various file-related properties of an attachment (filename, extension, ...) to correspond with
$filename, without requiring this file to exist.
setString sets the content of the attachment to