smtpsend
$mail
->smtpsend()
- Sends the Mail::Internet message via SMTP to all addresses on the
To
,Cc
, andBcc
lines. Finds the SMTP host by trying to connect first to hosts specified in$ENV{SMTPHOSTS}
, then tomailhost
, and then tolocalhost
.In a future release of Mail::Internet,
smtpsend
will be able to take the hostname as a parameter, asnntppost
does.