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
In reply to Re: connection not established. error in Mail::Sender
by Loops
in thread connection not established. error in Mail::Sender
by ungalnanban
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |