| CGI-Bus documentation | view source | Contained in the CGI-Bus distribution. |
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 (SMTP in Net). 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...
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 (SMTP in Net) object
Implemented and Documented.
Review.
Andrew V Makarow <makarow at mail.com>
| CGI-Bus documentation | view source | Contained in the CGI-Bus distribution. |