Click here to get back home

Perl module to send mail with Attachments

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Perl module to send mail with Attachments Ignoramus13980 04-25-2007
Posted by Ignoramus13980 on April 25, 2007, 2:03 pm
Please log in for more thread options


I have been using Mail::Sendmail for sending emails, but sending
attachments as described on

http://alma.ch/perl/Mail-Sendmail-FAQ.html#attachments

looks kind of messy. Is there a better module with methods such as

add_attachment( $filename, $mimetype, $body )

or some such. Thanks.

i

Posted by Sherm Pendley on April 25, 2007, 2:16 pm
Please log in for more thread options



> I have been using Mail::Sendmail for sending emails, but sending
> attachments as described on
>
> http://alma.ch/perl/Mail-Sendmail-FAQ.html#attachments
>
> looks kind of messy. Is there a better module with methods such as
>
> add_attachment( $filename, $mimetype, $body )
>
> or some such. Thanks.

MIME::Lite looks promising:

<http://search.cpan.org/~yves/MIME-Lite-3.01/lib/MIME/Lite.pm>

sherm--

--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net

Posted by Ignoramus13980 on April 25, 2007, 2:32 pm
Please log in for more thread options


>
>> I have been using Mail::Sendmail for sending emails, but sending
>> attachments as described on
>>
>> http://alma.ch/perl/Mail-Sendmail-FAQ.html#attachments
>>
>> looks kind of messy. Is there a better module with methods such as
>>
>> add_attachment( $filename, $mimetype, $body )
>>
>> or some such. Thanks.
>
> MIME::Lite looks promising:
>
> <http://search.cpan.org/~yves/MIME-Lite-3.01/lib/MIME/Lite.pm>
>
> sherm--
>

Thanks, it looks great, I will use it. Looks like it does all that I need.

i

Similar ThreadsPosted
Mail::Sender, attachments and html together August 4, 2004, 9:48 am
Send::Mail nothing happens and no errors January 25, 2007, 10:09 am
Is there a module to help me to send/receive msg and file with MSN message? May 12, 2005, 2:03 am
Problem installing module Email-Send December 4, 2007, 8:39 pm
Problem creating envelope-from in module Email::Send July 16, 2007, 7:33 am
Mail:Sender - HTML Mail with alternatives problem July 21, 2004, 6:44 pm
ANNOUNCE: new module: Mail::SendVarious October 26, 2006, 11:08 pm
Module problem - Can't locate Mail/Sender.pm in @INC October 22, 2004, 11:19 am
Net::SCP - bug found, where to send? October 7, 2004, 12:09 pm
How do you send a custom request with LWP::UserAgent? July 31, 2005, 6:09 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap