I'm trying to send email in c# using Oauth2 with an office 365 account.
Currently I am able to get the token but not sure how I'm able to use that token and send the email.
System.Net.Mail does not support OAuth or OAuth2.
I've seen Mailkit but the samples are all for google mail and didn't see one for office 365 so I'm not really sure where to start.