in reply to Re: PERL MIME:LITE
in thread PERL MIME:LITE

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..

Replies are listed 'Best First'.
Re^3: PERL MIME:LITE
by Corion (Patriarch) on Jan 19, 2014 at 19:35 UTC

    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.