in reply to PERL MIME:LITE

What operating system are you using?

Can the machine you are running the script on send mail otherwise? Maybe there are network problems or a firewall setup that prevents the machine from sending mail.

Replies are listed 'Best First'.
Re^2: PERL MIME:LITE
by Bhaskar Patel (Initiate) on Jan 19, 2014 at 18:59 UTC

    Hi Corion,

    I am using Windows 7.

    Through my mail_id am able to send mail. By using this script only getting this error. Thanks in advance..

      What do you mean by "mail id"?

      Is your machine capable of talking to an SMTP server and sending mail there?

      Consider using the documented method of the ->send method:

      $msg->send('smtp','some.host', Debug=>1 );

      or alternatively, pass Debug => 1 in the constructor.

      That way, maybe you see some more specific output of what goes wrong.

      The most likely cause is that outgoing network traffic to port 25 is blocked. You will then have to consult with your network administrator on how to best proceed.