Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2018-07-20 06:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (426 votes). Check out past polls.

    Notices?