in reply to Re: adding multiple attachments to email
in thread adding multiple attachments to email
edit - i added a comma after the file=> [ $outfile, $file1 ], and the syntax error is not showing anymore, however I'm not receiving any emails either ?!send_email(); sub send_email { my $sender=new Mail::Sender({from =>$email_sender, fake_from =>$email_sender,smtp => 'mail.test.com'}); $sender->MailFile({to => $email_recipient, subject => $email_subject, file=> [ $outfile, $file1 ] msg => $email_body}); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: adding multiple attachments to email
by aitap (Curate) on Apr 30, 2013 at 09:03 UTC | |
|
Re^3: adding multiple attachments to email
by perlnoobster (Sexton) on Apr 30, 2013 at 09:01 UTC |