I had been testing with stunnel as smtp relay, with smtp_client it fails with timeout, with other smtp clients (without SSL) there is no problem.
I can see this code with Nirsoft socketsniff on stunnel:
Send: Return Code: 0x00000000
220 smtp20.mail.ru ESMTP ready
Receive: Return Code: 0x00000000
EHLO WIN-SU447T9NNJ2
Send: Return Code: 0x00000000
250-smtp20.mail.ru
250-SIZE 73400320
250-8BITMIME
250-PIPELINING
250 AUTH PLAIN LOGIN XOAUTH2
Receive: Return Code: 0x00000000
AUTH login azJ0ZWtuaWs=
Send: Return Code: 0x00000000
334 UGFzc3dvcmQ6
Receive: Return Code: 0x00000000
QW5uYTEwMTA=
Send: Return Code: 0x00000000
235 Authentication succeeded
---------and some more------------
But when I try to use smtp_client I only get this:
Send: Return Code: 0x00000000
220 smtp49.i.mail.ru ESMTP ready
I expected a EHLO from the smtp_client.
My CodeSys screendump should be here, but I only manage to upload it, how to make it visible as a picture I do not know.
[gelöscht durch Administrator]