Cannot Decode response from Gmail on Authenticate to SMTP via OAUTH2

0
Hi, we are able to connect to **smtp.gmail.com** via Connect("smtp.gmail.com", 465, ComponentPro.Net.SslSecurityMode.Implicit) and is succesfull. Issue is when Authenticating via **AuthenticateAsync(gmailToken, SmtpAuthenticationMethod.OAuth20)** using token that is enabled and tested on other apps. We receive the exception with message **Cannot Decode response g6-20020a05660226c600b006814fd71117sm1102768ioo.12 - gsmtp (501).** Any help will be appreciated. Thanks
 
asked 8/26/2022 2:01:46 PM
add a comment

1 Answers

0
Hi yurienricardo, This may be, the problem was that a variable that auth-source-xoauth2 doesn't even mention wasn't set. Can you please check the the whole process again'. Thanks for contacting us.
 
answered 8/28/2022 12:02:06 PM
add a comment

Your Answer

Not the answer you're looking for? Browse other questions tagged smtp mail or ask your own question.