smtpsend
$mail->smtpsend()
- Sends the Mail::Internet message via SMTP to all addresses on the
To,Cc, andBcclines. 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,
smtpsendwill be able to take the hostname as a parameter, asnntppostdoes.