Janice Tse wrote: > Here's my code: > > ------------------------------------------------------------------------ ---- > my $type = 'sendmail'; > my $subject = My Test; > > my $mailprog = Mail::Mailer->new($type); > > my %headers = ( 'To' => '[EMAIL PROTECTED]', > 'From' => '[EMAIL PROTECTED]', > 'Subject' => $subject , > ) ; > > > $mailprog->open(\%headers); > $mailprog->close; > > ------------------------------------------------------------------------ ---- > What should I do in order to attach a file? Thanks!
The MIME::Lite module can help with email attachments. HTH -- Brian Raven ----------------------------------------------------------------------- The information contained in this e-mail is confidential and solely for the intended addressee(s). Unauthorised reproduction, disclosure, modification, and/or distribution of this email may be unlawful. If you have received this email in error, please notify the sender immediately and delete it from your system. The views expressed in this message do not necessarily reflect those of LIFFE Holdings Plc or any of its subsidiary companies. ----------------------------------------------------------------------- _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
