Rank: Newbie
Groups: Registered
Joined: 1/2/2020(UTC)
Posts: 3
We are having trouble connecting to outlook.office365.com with OAuth2.0. After getting a valid accessToken we do this: lMailServer.Server = 'outlook.office365.com' lMailServer.Port = '443' lMailServer.User = '[our username]' lMailServer.Password = accessToken lMailServer.Protocol = 2 // EWS lMailServer.SSLConnection = TRUE lMailServer.AuthType = 3 // OAuth lMailServer.Alias = "[email address]" lmailClient.Connect(lMailServer) Last line fails with "Unknown error 500". My concern is that despite the authtype being set to 3 the log file shows this: Server: outlook.office365.com Port: 443 AuthType: AuthLogin SSLConnection: True SSLType: ConnectSSLAuto Protocol: Exchange Web Service ProxyProtocol: Socks5
Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,153
Thanks: 9 times Was thanked: 55 time(s) in 55 post(s)
AuthLogin is from an error of log writter, could you send more detail to our support email address for assistance?
Rank: Newbie
Groups: Registered
Joined: 1/2/2020(UTC)
Posts: 3
Apparently the issue was related to TSL1.2 support in Windows 7. It's now resolved, thank you so much.
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.