Rank: Newbie
Groups: Registered
Joined: 11/21/2019(UTC) Posts: 1 Location: Noirge
I have had a program that has worked until recently. I now get a handshake error - nothing in my program or setuup has changed. Errrorlog is as follows: 220 2.0.0 SMTP server ready [SSL]client handshake [SSL]client handshake failed connect failed The error only happens on win2003 servers. Same program does it correctly on a newer server: [SSL]client handshake [SSL]warning: client certificate is required [SSL]verify server certificate [SSL]EHLO terminalserver.local 250-AM0PR06CA0032.outlook.office365.com Hello [85.112.155.187] 250-SIZE 157286400 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-AUTH LOGIN XOAUTH2 250-8BITMIME 250-BINARYMIME 250-CHUNKING 250 SMTPUTF8 [SSL]AUTH LOGIN etc My softwarecode is as follows: objmail.LicenseCode = "Sensured" objmail.ServerAddr = "smtp.office365.com" objmail.FromAddr = "Sensured" objmail.UserName = "Sensured" objmail.Password = "Sensured" objmail.AddRecipient "Epostkopi", "epostkopi@eggum.no", 2 objmail.ReplyTo = "Erik@eggum.no" objmail.SSL_init objmail.ServerPort = 587 objmail.Protocol = 0 objmail.LogFileName = "c:\eggum\EpostLoggTest" & Format(Now, "YYYY-MM-DD") & ".TXT" objmail.Subject = "Test" objmail.BodyText = "Testbody" objmail.AddRecipient "Erik@eggum.no", "erik@eggum.no", 0 ' If objmail.AddAttachment("erik@eggum.no") <> 0 Then ' End If If objmail.SendMail() = 0 Then End If Does anyone know why I suddently get a handshake error, but only on win2003 servers ? Br Erik
Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,154
Thanks: 9 times Was thanked: 55 time(s) in 55 post(s)
Hi, that is because office365 requires TLS 1.2 now. You have to upgrade OS to windows 2008/7 or later version.
To enable TLS 1.2 on Windows 2008/2008 R2/7, you also need to install this update:
TLS 1.2 Support added to Windows Server 2008
Forum Jump
EmailArchitect Support
Email Component Development
- EASendMail SMTP Component - .NET Version
- EASendMail SMTP Component - Windows Store Apps
- EASendMail SMTP ActiveX Object
- EAGetMail POP3 & IMAP4 Component - .NET Version
- EAGetMail POP3 & IMAP4 ActiveX Object
Exchange Server and IIS SMTP Plugin
- DomanKeys/DKIM for Exchange Server and IIS SMTP
- Disclaimer and S/MIME for Exchange Server and IIS
EmailArchitect Email Server
- EmailArchitect Email Server (General)
- EmailArchitect Email Server Development
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.