CGI::Bus::smtp - simple SMTP sender
use CGI::Bus; $s =CGI::Bus->new(); $s->smtp(-server=>'localhost')->mailsend(...);
This module is a simple SMTP sender. Uses Net::SMTP. See CGI::Bus::Base for inherited slots and methods.
Default mail domain, for usernames without '@'
SMTP server name or address
Translates address given if needed. Removed backslashes, adds -domain...
-domain
Sends message, catenating rows via "\n". If 'from' or 'to' argument undefined, values are searched within rows of message as 'From:', 'Sender:', 'To:'. If array reference 'to' occurs in place of message row, it will be converted to 'To:' MIME string.
Creates and returns new Net::SMTP object
Implemented and Documented.
Review.
Andrew V Makarow <makarow at mail.com>
2 POD Errors
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head2'
'=item' outside of any '=over'
To install CGI::Bus, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::Bus
CPAN shell
perl -MCPAN -e shell install CGI::Bus
For more information on module installation, please visit the detailed CPAN module installation guide.