How do I create multiple recipients in the Mail::Mailer module?

 

I currently have the following which works for a single recipient in the 'To' field and I was wondering how to add more?

 

$mailer = new Mail::Mailer 'smtp', Server=>'SERVERNAME';

                $mailer->open ({        From    => 'ANYNAME <[EMAIL PROTECTED]>',

                                        To      => '[EMAIL PROTECTED]',

                                        Subject => 'SUBJECT MESSAGE',

                                });

                print $mailer $body;

                $mailer->close();

 

Thanks

 

Chris

This electronic message and any attached documents are intended
only for the named addressee(s). This communication from
TransCanada may contain information that is privileged, confidential
or otherwise protected from disclosure and it must not be disclosed,
copied, forwarded or distributed without authorization. If you have
received this message in error, please notify the sender immediately
and delete the original message. Thank you.
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to