in reply to Email Modules

I like Mail::Mailer - very easy to use and it seems pretty dependable. The drawback is that I don't believe that it's cross platform.
use Mail::Mailer; my $mailer = Mail::Mailer->new("sendmail"); $mailer->open({From => "$from", To => "$to", Subject => "$subject", }) or die "Can't open: $!\n"; print $mailer $body; $mailer->close();

Rich36
There's more than one way to screw it up...

Replies are listed 'Best First'.
Re: Re: Email Modules
by cjf (Parson) on May 31, 2002 at 19:38 UTC

    Thanks for the suggestion, I hadn't heard much about Mail::Mailer before but it looks interesting. I especially like that it allows you to choose which program to send the mail. The 'test' feature described in the docs also looks useful.

    As for not being cross platform, it's passed tests on i386-linux, i686-linux, and sun4-solaris so that's not a problem for me. Thanks again :).