ghouse has asked for the wisdom of the Perl Monks concerning the following question:
How do we fix thismy @cclist = ('abc\@yahoo.com','bfgh\@hotmail.com','rew\@rediff.com'); my @ToAddress = ('abc\@yahoo.com','bfgh\@hotmail.com','rew\@rediff.com +'); # Create a new multipart message: $MIMEEntity = build MIME::Entity From => $FromAddress, 'Reply-To' => $ReplyToAddress, To => @ToAddress, CC => @cclist, Subject => $MailSubject, Notify => 'SUCCESS,FAILURE,DELAY', Type => 'multipart/mixed'; $NetSMTP->mail($FromAddress) or die "ERROR calling SMTPmail, stopped"; $NetSMTP->to(@ToAddress) or die "ERROR calling SMTPmail, stopped"; $NetSMTP->cc(@cclist) or die "ERROR calling SMTPmail, stopped";
2004-12-23 Janitored by Arunbear - added code tags, as per Monastery guidelines
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Multiple Recipients using SMTP
by maa (Pilgrim) on Dec 23, 2004 at 15:49 UTC | |
|
Re: Multiple Recipients using SMTP
by muntfish (Chaplain) on Dec 23, 2004 at 17:06 UTC | |
by ghouse (Novice) on Dec 24, 2004 at 10:49 UTC |