MailKit, Office 365 and OAUTH2: Problem in authentication of a server side app

Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

MailKit, Office 365 and OAUTH2: Problem in authentication of a server side app

Message par Clippy »

MailKit, Office 365 and OAUTH2: Problem in authentication of a server side app
Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Re: MailKit, Office 365 and OAUTH2: Problem in authentication of a server side app

Message par Clippy »

Late response, but I hope this saves someone else the week I spent researching this.

The simplest/best answer is to use Microsoft.Graph. See this:
[https://learn.microsoft.com/en-us/graph/api/user-sendmail?view=graph-rest-1.0&tabs=csharp](https://learn.microsoft.com/en-us/graph/api/user-sendmail?view=graph-rest-1.0&tabs=csharp)
Répondre

Revenir à « Excel & VBA »