Whats is the Exception returned by Smtp.Login(String, SmtpAuthentication) method on the access token expire?
Smtp.Login(String, SmtpAuthentication)
Hello,
you should get SmtpException. Please read our blog: How to authenticate to Gmail with Rebex Secure Mail using OAuth 2.0 for more information how to handle expired token.
Welcome to Q&A forum for C# and VB.NET developers working with following .NET components:
Applications:
If you need immediate assistance, please contact us directly.