NAME
CGI::Bus::smtp - simple SMTP sender
SYNOPSIS
use CGI::Bus;
$s =CGI::Bus->new();
$s->smtp(-server=>'localhost')->mailsend(...);
DESCRIPTION
This module is a simple SMTP sender. Uses Net::SMTP. See CGI::Bus::Base for inherited slots and methods.
SLOTS
METHODS
- mailsend ( ?from, ?\@to, row,... ) - > success
-
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.
- smtp ( option => value ) -> new SMTP object
-
Creates and returns new Net::SMTP object
VERSION
20/12/2001 - 22/12/2001
AUTHOR
Andrew V Makarow <makarow@mail.com>
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 61:
You forgot a '=back' before '=head2'
- Around line 63:
'=item' outside of any '=over'