Hi,
one of your problems is the line
my $response = sendmail($email);
This doesn't fit to the API of the function sendmail. Have a look at the docs of Mail::Sendmail. What you put in is a Email::MIME-object which doesn't work this way.
Regards
McA
In reply to Re: Sending email with attachments using Email::Mime
by McA
in thread Sending email with attachments using Email::Mime
by gezb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |