Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (programs and processes)
Question: How can I Bcc, Cc or send mail to multiple recipients using the following code.
use Net::SMTP;
# Send the message and disconnect
$smtp=Net::SMTP->new('$host');
$smtp->mail($from);
$smtp->recipient($to);
$smtp->data("Subject: $subject\r\n$body");
$smtp->quit;
-thanks-
Originally posted as a Categorized Question.
Back to
Seekers of Perl Wisdom