Whats is the Exception returned by Smtp.Login Method (String, SmtpAuthentication), on the access token expire?

0 votes
asked Dec 23, 2016 by santoshgh (270 points)
Applies to: Rebex Secure Mail

1 Answer

0 votes
answered Dec 23, 2016 by Pavel Matyska (15,060 points)


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.