![]() |
![]() |
8 Einträge, 1 Seite |
Quotesend_by_smtp ARGS...
Instance method. Send message via SMTP, using Net::SMTP. The optional ARGS are sent into Net::SMTP::new(): usually, these are
MAILHOST, OPTION=>VALUE, ...
Note that the list of recipients is taken from the ``To'', ``Cc'' and ``Bcc'' fields.
Returns true on success, false or exception on error.
Quote\n\n### Do something like this in your 'main':
if ($I_DONT_HAVE_SENDMAIL) {
MIME::Lite->send('smtp', "smtp.myisp.net", Timeout=>60);
}
### Now this will do the right thing:
$msg->send; ### will now use Net::SMTP as shown above
[E|B,17.06.2004, 20:08]<a href="http://www.indigostar.com/sendmail.htm" target="_blank">Indigostar</a>
Blat
Windmail
Hamster
.
![]() |
![]() |
8 Einträge, 1 Seite |