Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 studying the Monastery: (13)
As of 2016-06-27 16:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (340 votes). Check out past polls.