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.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to