Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: replyChapter 14
Email Connectivity
Next: Reference: tidy_body
 

smtpsend

 $mail->smtpsend()

Sends the Mail::Internet message via SMTP to all addresses on the To, Cc, and Bcc lines. Finds the SMTP host by trying to connect first to hosts specified in $ENV{SMTPHOSTS}, then to mailhost, and then to localhost.

In a future release of Mail::Internet, smtpsend will be able to take the hostname as a parameter, as nntppost does.


Previous: Reference: replyPerl in a NutshellNext: Reference: tidy_body
Reference: replyBook IndexReference: tidy_body