Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.

Attachment to an email

by ACJavascript (Acolyte)
on Mar 11, 2003 at 17:28 UTC ( [id://242097]=perlquestion: print w/replies, xml ) Need Help??

ACJavascript has asked for the wisdom of the Perl Monks concerning the following question:

Hello Perl monks its me again hehe :D

Okay my question is this, How can place an attachment to an email?

Any advice it welcome -- thanks in advance!

Replies are listed 'Best First'.
Re: Attachment to an email
by data64 (Chaplain) on Mar 11, 2003 at 17:44 UTC
Re: Attachment to an email
by Jenda (Abbot) on Mar 11, 2003 at 20:12 UTC
      try Mail::Sender ;-)
      Back when I was first looking for an easy way to send attachments, this was the module that required the least effort on my part to get the job done. Now that MIME::Lite will call sendmail (or Net::SMTP or whatever), the gap has narrowed some, so it would be a harder choice today.

      Though if I didn't know about either module, I think it's more obvious that Mail::Sender does what I want it to do, and I'd probably overlook MIME::Lite (looking at the initial description that shows up from a CPAN search).

        You are right "low-calorie MIME generator" is not very descriptive. I bet there are thousands of people who have never heard of MIME, but know they need to send a mail with some attachment. :-)

        I think now it's more or less a matter of taste which one to use.


      I'll vouch for Jenda's Mail::Sender module.

      It's extremely easy to use and I have never had a problem with the receiver not being able to open the attachments.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://242097]
Approved by sschneid
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-07-12 15:02 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.