-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
I'm getting the Error during handshake: failed to read data while connecting to the SMTP server to send the mail. The code in use:
Poco::Net::Context::Ptr p_context(new Poco::Net::Context(Poco::Net::Context::TLS_CLIENT_USE, std::string(), Poco::Net::Context::VERIFY_NONE));
Session.login();
Session.startTLS(p_context);
The error occurs in startTLS() after some time (cca 20s). The problem is that this happen on some remote computer (to which I cannot connect to debug the issue). When testing on my computer (with same SMTP, etc.) , everything is working OK. The strange thing is, that with Poco 1.9.4 everything works ok on the remote computer.
Poco 1.11.02 compiled as x86 using vcpkg with VS 2019, Windows 10 22H2
I've tried to search the internet about some leads, but no success.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels