Hi there,
I'm using the Mail::Mailer module in Perl, and i was wondering how do
I attach a file (csv or txt) using this module?
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!
-Janice
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs