CAM::EmailTemplate::SMTP - Net::SMTP based email message sender

LICENSE

Copyright 2005 Clotho Advanced Media, Inc., <cpan@clotho.com>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

ABOUT CLOTHO

"CAM" stands for Clotho Advanced Media Inc. (www.clotho.com) which developed this module. Contact us at info@clotho.com.

INSTALLATION

Install via one of the following:
perl Makefile.PL
make
make test
make install

or

perl Build.PL
perl Build
perl Build test
perl Build install

To get the full effect of testing, please specify a recipient email address and mailhost:
setenv RECIPIENT user@foo.com
setenv MAILHOST mail.foo.com

To take advantage of Net::SMTP's debugging capabilities, use this: setenv SMTPTemplate_Debug 1

DESCRIPTION

This module alters the CAM::EmailTemplate mail delivery mechanism to use raw SMTP delivery (via Net::SMTP) instead of relying on the sendmail binary program. This module is useful for machines which are not configured to do their own mail delivery. Instead, the programmer or user specifies a mail server to use as the delivery agent.

This module most closely resembles Mail::Send with the smtp option. It has the following advantages:

and the following disadvantages:

This module can be extended to use alternate templating syntax just like CAM::EmailTemplate. See the example in the README for that module, and just append "::SMTP" to all instances of "CAM::EmailTemplate".