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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.