Re: Perl Script to send mail with Attachment

2004-05-14 Thread Alexander Apprich
Hi Satish, Satish Kumar wrote: Hi ScriptKings, Im a newbie in Perl, Would like to know following Info: Can we create *Perl Scipt to send Mails with Attachments* Any Tips, Help, Code,Suggestions & Guidance are Welcome The module Mail::Sender is probaply what you are looking for... This

RE: Perl Script to send mail with Attachment

2004-05-14 Thread Wenjie Wang
Try this:   $mailer = MIME::Lite->new(    From => $from,    To   => $to,    Subject  => $subject,    Type => 'multipart/mixed'   );     $mailer->attach(Type =>'TEXT', Data ="" $emailbody);   $mailer->attach(Type =>'TEXT',    Path  => $anAttachm