For Programmers: Free Programming Magazines  


Home > Archive > PERL Miscellaneous > April 2007 > Perl module to send mail with Attachments









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Perl module to send mail with Attachments
Ignoramus13980

2007-04-25, 7:02 pm

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
Sherm Pendley

2007-04-25, 7:02 pm

Ignoramus13980 <ignoramus13980@NOSPAM.13980.invalid> writes:

> 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-L...ib/MIME/Lite.pm>

sherm--

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

2007-04-25, 7:02 pm

On Wed, 25 Apr 2007 14:16:51 -0400, Sherm Pendley <spamtrap@dot-app.org> wrote:
> Ignoramus13980 <ignoramus13980@NOSPAM.13980.invalid> writes:
>
>
> MIME::Lite looks promising:
>
> <http://search.cpan.org/~yves/MIME-L...ib/MIME/Lite.pm>
>
> sherm--
>


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

i
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com