2008/10/22 <[EMAIL PROTECTED]>: > 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?
I don't think there is one. If you don't specify the types distinctly, you break the rules (RFC 2822 etc). -- my @name = glob "{JeffP}{a,e}{ng}" http://home.arcor.de/pangj/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/