PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 27 → Microsoft changed the authentication of the mail in Office365 to modern authentication
Microsoft changed the authentication of the mail in Office365 to modern authentication
Débuté par FelixDL, 16 oct. 2022 11:33 - 2 réponses
Membre enregistré
1 message
Posté le 16 octobre 2022 - 11:33
Good,
A few days ago Microsoft deactivates a group of Office365 mail accounts the possibility of using simple authentication to access emails. Now you need to use what I see call "modern authentication"
At https://learn.microsoft.com/.../deprecation-of-basic... it is explained why it is removed and what it is that "modern authentication":
Modern authentication (Oauth 2.0 tokens authorization has many advantages and improvements that help mitigate basic authentication problems. For example, Oauth's access tokens have a limited useful duration and are specific to applications and resources for which they are emitted, so they cannot be reused.
Someone can guide me to adapt this change to an application in Window Desktop.
Thank you very much
Cheers
Felix
Posté le 21 novembre 2022 - 20:33
Hi, i have exact the same question.

I have SMTP working with OAuth, so far so good. But i want to access several M365 mailboxes to drill down and save all attachments found to a local folder.

Do you have some example code how to access (read) an M365 mailbox?

Thx in advance,
Membre enregistré
1 message
Posté le 26 novembre 2022 - 22:09
same here