Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I use Mail::Sender pretty extensively. Here's a code snippet to get you started for sending an email with an attachment. (We let the user's email client determine the helper application to execute based on the file extension of the filename we attach to the message.) Mail::Sender lets you customize the MIME stuff, but for simple single files you don't need to do that.
I really like this module. You should seriously consider installing it if you find that you are doing a lot with emailing attachments. It has saved me tons of time. In reply to Re: How do I send an email with Perl (including an attachment)?
by fongsaiyuk
|
|