|
|
| Problems? Is your data what you think it is? | |
| PerlMonks |
Using Net::SMTP to Bcc, Cc or multiple recipientsby Anonymous Monk |
| on Nov 03, 2000 at 17:32 UTC ( [id://39873]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.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
|
|
||||||||||||||||||||||||||||||||||||||||||||