Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
rorlandi  
#1 Posted : Tuesday, October 26, 2021 6:49:27 AM(UTC)
rorlandi

Rank: Newbie

Groups: Registered
Joined: 10/26/2021(UTC)
Posts: 0
Italy

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!
rorlandi  
#2 Posted : Tuesday, October 26, 2021 7:14:46 AM(UTC)
rorlandi

Rank: Newbie

Groups: Registered
Joined: 10/26/2021(UTC)
Posts: 0
Italy

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.
Users browsing this topic
Guest
Forum Jump  
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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.099 seconds.

EXPLORE TUTORIALS

© All Rights Reserved, AIFEI Software Limited & AdminSystem Software Limited.