I’m able to send email from accounts that use the port 465 but when I have to use the port 587 I have this message in the log:
Connected to smtp.mail.me.com (18.104.22.168) port 587 (#0)
TLSv1.3 (OUT), TLS handshake, Client hello (1):
error:1408F10B:SSL routines:ssl3_get_record:wrong version number
Closing connection 0
my settings are :
dim c as CURLSMBS
c.optionPort = 587
c.OptionUseSSL = c.kUseSSLall
c.OptionSSLVersion = c.kSSLVersionTLSv13
And I tried all the possibles combinations with OptionUseSSL and OptionSSLVersion and nothing works.
When I use the SMTPSecureSocket with these settings:
MailSocket.Port = 587
MailSocket.SMTPConnectionType = SMTPSecureSocket.SMTPConnectionTypes.SSLTLS
MailSocket.SSLEnabled = true
I’m able to send emails with hotmail and iCloud.
I’m surely don’t have the correct equivalent settings for CURLSMBS.
Can somebody help.