l***@gmail.com
2008-10-22 04:12:00 UTC
Hi All,
I'm using perl module MIME::Lite to sent out email with attachments,
may I know what "Type" should I define to attach any type of files,
for instance .jpg, .xls, .doc, .pdf and etc without checking the
attached file type. Is there any global variable to define instead of
Type => 'application/zip', Type => 'image/gif', Type => "application/
xls" and etc?
$msg->attach (
Type => 'what type should I define without checking the attached
file type',
Path => '$path',
Filename => '$filename',
Disposition => 'attachment'
)
Please helps.
Thanks & Regards,
Leo.
I'm using perl module MIME::Lite to sent out email with attachments,
may I know what "Type" should I define to attach any type of files,
for instance .jpg, .xls, .doc, .pdf and etc without checking the
attached file type. Is there any global variable to define instead of
Type => 'application/zip', Type => 'image/gif', Type => "application/
xls" and etc?
$msg->attach (
Type => 'what type should I define without checking the attached
file type',
Path => '$path',
Filename => '$filename',
Disposition => 'attachment'
)
Please helps.
Thanks & Regards,
Leo.