Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Sending email attachments

by MrCromeDome (Deacon)
on Jul 24, 2003 at 21:40 UTC ( #277704=note: print w/replies, xml ) Need Help??


in reply to Sending email attachments

Have you considered Mail::Sender? Would give you a simpler and more portable way of doing what you want:
(new Mail::Sender)->MailFile({ smtp => "your.mailserver.com", from => $from_email, to => $to_email, subject => $subject, msg => $message, file => \@filelist });
@filelist is an array containing a list of file names to attach.

Cheers!
MrCromeDome

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2021-02-26 15:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?