Perl-Sensitive Sunglasses | |
PerlMonks |
Using Net::SMTP to Bcc, Cc or multiple recipientsby Anonymous Monk |
on Nov 03, 2000 at 22:32 UTC ( [id://39873]=perlquestion: print w/replies, xml ) | Need Help?? |
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
|
|