Mail::Sendmail 0.79 review

Download
by rbytes.net on

Mail::Sendmail is a simple platform independent mailer. SYNOPSIS use Mail::Sendmail; %mail = ( To => 'you@there.com

License: Perl Artistic License
File size: 15K
Developer: Milivoj Ivkovic
0 stars award from rbytes.net

Mail::Sendmail is a simple platform independent mailer.

SYNOPSIS

use Mail::Sendmail;

%mail = ( To => 'you@there.com',
From => 'me@here.com',
Message => "This is a very short message"
);

sendmail(%mail) or die $Mail::Sendmail::error;

print "OK. Log says:n", $Mail::Sendmail::log;

Simple platform independent e-mail from your perl script. Only requires Perl 5 and a network connection.

Mail::Sendmail contains mainly &sendmail, which takes a hash with the message to send and sends it. It is intended to be very easy to setup and use.

Here are some key features of "Mail::Sendmail":
Automatic time zone detection, Date: header, MIME quoted-printable encoding (if MIME::QuotedPrint installed), all of which can be overridden.
Bcc: and Cc: support.
Allows real names in From:, To: and Cc: fields
Doesn't send an X-Mailer: header (unless you do), and allows you to send any header(s) you want.
Configurable retries and use of alternate servers if your mail server is down
Good plain text error reporting

Limitations:
Headers are not encoded, even if they have accented characters.
No suport for the SMTP AUTH extension.
Since the whole message is in memory, it's not suitable for sending very big attached files.
The SMTP server has to be set manually in Sendmail.pm or in your script, unless you have a mail server on localhost.
Doesn't work on OpenVMS, I was told. Cannot test this myself.

Requirements:
Perl

Mail::Sendmail 0.79 keywords