BW::Email - Support for email messages
use BW::Email; my $errstr; my $email = BW::Email->new(); error($errstr) if (($errstr = $db->error));
Crate a new bw::Email object.
Initializations called by new().
Return the version string.
Return the latest error condition.
Returns SUCCESS if email is a valid email address. Otherwise returns FAILURE.
Return a date formatted for SMTP.
Create a new header.
Alias for header().
Set and/or return the From: email address.
Set and/or return the From: name.
Return the From: header value.
Set and/or return the Subject.
Returns the SMTP date.
Set and/or return the body of the email message.
Set and/or return the To: email address.
Set and/or return the To: name.
Return the value of the To: header.
Set and/or return the return-path (envelope address).
Return the fully-assembled email message.
Assemble the Received: header. (Internal only).
Used internally for the SMTP transaction.
Send the message.
Written by Bill Weinman <http://bw.org/>.
Copyright (c) 1995-2010 The BearHeart Group, LLC
2010-02-02 bw 1.0.3 -- first CPAN version - some cleanup and documenting 2008-01-28 bw -- normalized from bwEmail
To install BW::CGI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm BW::CGI
CPAN shell
perl -MCPAN -e shell install BW::CGI
For more information on module installation, please visit the detailed CPAN module installation guide.