perlnoobster has asked for the wisdom of the Perl Monks concerning the following question:
only the first file (outfile) is attached to the email, the second file (file1) is not. please can someone help me? Thank yousend_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, file=> $file1, msg => $email_body}); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: adding multiple attachments to email
by aitap (Curate) on Apr 30, 2013 at 08:49 UTC | |
by perlnoobster (Sexton) on Apr 30, 2013 at 08:52 UTC | |
by aitap (Curate) on Apr 30, 2013 at 09:03 UTC | |
by perlnoobster (Sexton) on Apr 30, 2013 at 09:01 UTC |