Replies: 2 comments 1 reply
-
SMTP, POP3 and IMAP are all disabled by default in Office365 Exchange Tenants. You need to enable them. |
Beta Was this translation helpful? Give feedback.
-
What Microsoft means is that they will stop supporting password-based authentication. OAuth2 uses token-based authentication. So yes, you'll be able to use MailKit with OAuth2 once Microsoft stops supporting password-based authentication.
I always recommend starting with the documentation - make sure you read it thoroughly and follow every step correctly. If you do that, it will work for you. If you don't, you'll get errors and those errors won't be helpful in tracking down the problem in my experience. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Im using MailKit and followed up the app coding in the oathexchange2 example.
But after authentication and trying to send the message, it throws the error authentication unsuccessful, SmtpClientAuthentication is disabled for the Tenant.
But I'm using the oauth2 with this MailKit code.. why this error?
Beta Was this translation helpful? Give feedback.
All reactions