Rank: Newbie
Groups: Registered
Joined: 10/26/2021(UTC)
Posts: 0
I am trying to send emails with Office 365, using the method described in "C#/ASP.NET/ASP MVC - Send email using Microsoft OAuth 2.0 (Modern Authentication) + EWS protocol from Office 365 in background service" (https://www.emailarchitect.net/easendmail/ex/c/24.aspx). I followed the instructions but the connection is always refused by Exchange with a generic "401 Unauthorized" error. I have queried in Azure web portal the Users > Access Log entries and found the following explanation for the rejected attempts: "The password entered exceeds the maximum length. Please reach out to your admin to reset the password. The user is unable to login because their password exceeds the permitted maximum length. They should contact their admin to reset the password. If SSPR is enabled for their tenant, they can reset their password by following the "Forgot your password" link." The token is really very long and for sure exceeds 256 characters. Please, can you tell me where I'm wrong? Thanks a lot!
Rank: Newbie
Groups: Registered
Joined: 10/26/2021(UTC)
Posts: 0
Sorry, I updated EASendMail dll to the last version (7.7.1.1) and now all works without errors! Previously I was using for my test an old version (7.5.0.1). Thanks to all.
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.