Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
The same code when i tried in server which is also a windows based is unable to send email . please suggest what settings difference leads to this failure in sending mails.my $sender = new Mail::Sender ({smtp => 'outbound.something.com', fro +m => 'gsp-bizops@somting.com'}) || print ("0","Failed when creating +Mail object.$Mail::Sender::Error"); $sender->MailMsg ({to => $emailId, subject => $subject, msg => $m +sg_body , client => 'localhost'}) || print ("0","Filed when send mai +l.$Mail::Sender::Error"); $sender->Close;
2006-09-27 Retitled by planetscape, as per Monastery guidelines
Original title: 'Error in sending mail using mail;:sender'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Error in sending mail using mail::sender
by davorg (Chancellor) on Sep 26, 2006 at 08:46 UTC |