|No such thing as a small change|
Net::SMTP and SSL timeout problemby vitoco (Friar)
|on Jun 09, 2023 at 13:27 UTC||Need Help??|
vitoco has asked for the wisdom of the Perl Monks concerning the following question:
I'm using the standard procedure of the Net::SMTP module to send emails from a Windows box with Strawberry, and it works if I use a plain SMTP connection, but when I use SSL it hangs at the dataend method (which is part of the Net::Cmd module).
I searched and found some other reports, but not a solution.
The piece of code is:
With SSL=>1, debug trace shows all the messages from the (successful) authentication up to "end of body" message and hangs for a while, then a timeout message appears.
I also tried without the dataend, but the quit seems to call dataend internally and the problem persists.
What am I missing?
I don't want to hack standard mods...