0 votes
by (270 points)

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

Applies to: Rebex Secure Mail

1 Answer

0 votes
by (15.2k points)

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.

...