Мандип Сингх Бхабха wrote:
There are multiple ways to send mail from perl script. I think this code
will help.
Your life will be much much much simpler if you use
Mail::Sender::Easy
http://search.cpan.org/perldoc?Mail::Sender::Easy
You can do or die it and do very complec things, and very very portably
(PIPEing to sendmail is *not* very portabel in the least)
Its very easy to maintain and troubelshoot:
email(\%myemail) or die "Email could not be sent: $@";
HTH :)
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>