Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Attaching files to a Mail::Send message

by Llew_Llaw_Gyffes (Scribe)
on Jul 23, 2005 at 07:59 UTC ( [id://477450]=perlquestion: print w/replies, xml ) Need Help??

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

O learned brethren,

I am familiar with the use of Mail::Send to generate and send an email message from Perl.  Is there a recommended simple means by which I may add an appropriately MIME-encoded attachment to a message created with Mail::Send?  I have found MIME::Entity, but I haven't yet been able to make the two work in combination.

  • Comment on Attaching files to a Mail::Send message

Replies are listed 'Best First'.
Re: Attaching files to a Mail::Send message
by GrandFather (Saint) on Jul 23, 2005 at 08:33 UTC

    Use MIME::Lite. Very easy to use and good documentation.


    Perl is Huffman encoded by design.
Re: Attaching files to a Mail::Send message
by polettix (Vicar) on Jul 23, 2005 at 13:34 UTC
    That is exactly why I started using Mail::Sender, which I found both simple and useful.

    Flavio
    perl -ple'$_=reverse' <<<ti.xittelop@oivalf

    Don't fool yourself.
      Mail::Sender looks like exactly what I need. Thank you.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-24 06:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found