serilog/serilog-sinks-email

Remove XOAUTH2

Opened this issue · 0 comments

AR1ES commented

Hello!
I get "Authentication error" when I using office 365 mail server.

I test MimeKit and found that I need to remove XOAUTH2 before authentication
smtpClient.AuthenticationMechanisms.Remove("XOAUTH2");