Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Sending email with attachments using Email::Mime

by McA (Priest)
on May 14, 2014 at 12:11 UTC ( #1086018=note: print w/ replies, xml ) Need Help??


in reply to Sending email with attachments using Email::Mime

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1086018]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2016-08-24 09:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (341 votes). Check out past polls.