I am trying to send an email through gmail using oauth credentials. I cannot seem to find any smtp class in the framework, or open source alternatives that work with oauth access token.
I found these references on google developer's website Gmail IMAP and SMTP using OAuth - Overview and Gmail IMAP and SMTP using OAuth - Protocol, but I am not sure who to implement it.
Thank you
I think you can just use SmtpClient in the System.Net.Mail namespace.
This Q covers how to do it in detail: Sending Email via GMail and .NET 4
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With