Email-MIME reviews

cpanratings
 

RSS | Module Info | Add a review of Email-MIME

Email-MIME (1.82) *****

Version: 1.863

I spent an hour trying to get MIME::Parser(5.427) to just extract an attachment to disk. I never could figure out the API. But, in 2 minutes I was able to get it all done with Email::MIME(1.863).

use Path::Class qw{file dir};
use Email::MIME;
my $message = do {local $/; <>};
my $email = Email::MIME->new($message);

foreach my $part ($email->parts) {

if ($part->filename) {

my $file=file($part->filename); #isa Path::Class::File object

my $fh=$file->openw;

print $fh $part->body;

}
}

Thanks for the nice Interface!

Michael R. Davis - 2013-05-23T14:59:00 (permalink)

1 out of 1 found this review helpful. Was this review helpful to you?  Yes No

Email-MIME (1.910) *****

Very nice module to create multipart emails. Used together with Email::Sender become a full-featured and also easy to use way to create and send e-mails, multipart or not, using a variety of transports.

Michele Beltrame - 2012-01-23T08:26:17 (permalink)

1 out of 1 found this review helpful. Was this review helpful to you?  Yes No

Email-MIME (1.863) *****

Easier and faster, as advertised. Thank you. I can think of a lot of internet projects that need this sort of effort.

Erik Aronesty - 2009-09-12T06:12:20 (permalink)

1 out of 1 found this review helpful. Was this review helpful to you?  Yes No

Email-MIME (1.82) *****

Works nicely with multipart Emails.
Saved me a lot of time when customer changed SMTP to newer Exchange.
It was almost in place replacement for our code writen 5 years ago.

Oded S. Resnik - 2006-06-02T02:37:18 (permalink)

8 out of 9 found this review helpful. Was this review helpful to you?  Yes No