Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: connection not established. error in Mail::Sender

by Loops (Curate)
on Apr 10, 2013 at 02:46 UTC ( [id://1027880]=note: print w/replies, xml ) Need Help??


in reply to connection not established. error in Mail::Sender

You need to test return values to see what is happening at each stage of your program. For instance, what return value is $Msg->Close() generating? If it's 0, it means that something failed in the creation of the message and no attempt to connect to the server was even made.

That info is here: Close and send your message

  • Comment on Re: connection not established. error in Mail::Sender

Replies are listed 'Best First'.
Re^2: connection not established. error in Mail::Sender
by ungalnanban (Pilgrim) on Apr 10, 2013 at 03:04 UTC

    I'm sending mail one by one. I have checked the debug log file, It shows "This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible." at the end of file, its simply quit. Is there any link between this MIME error message and connection not established. my $Msg->Close() returns 0,

      The "This message is in MIME format. ..." is just a message for the (I believe very rare) people that use a mail client that do not understand MIME (the standard that defines all those headers and stuff allowing you to send multipart messages, attachments etc.) Ignore it.

      I don't understand what where gives you that error. There's something you haven't shown.

      Jenda
      Enoch was right!
      Enjoy the last years of Rome.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1027880]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (7)
As of 2024-04-18 03:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found