Skip to content

How to use OAuth2 for SMTP with Microsoft 365 without any end user interaction? - Just for background processing #1768

Answered by jstedfast
xcITs-Xian asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Xian,

I should probably update the examples in the Documentation directory (I forgot I even had a sample there), but the canonical documentation for MailKit+OAuth2 with Exchange can be found here: https://github.com/jstedfast/MailKit/blob/master/ExchangeOAuth2.md

That details 2 different methods of OAuth2, 1 that requires user interaction and 1 that is meant for (web) services where interaction is not possible.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@xcITs-Xian
Comment options

@Jceggbert5
Comment options

@jstedfast
Comment options

@Jceggbert5
Comment options

@xcITs-Xian
Comment options

Answer selected by xcITs-Xian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants