I can authenticated to SMTP by following the google example.
But the problem now is I can\'t send out the mail. I am getting the following error whenever I try to se
Sorry people, answer is here: Javamail api in android using XOauth I tested, it works.
"SMS style login" failure - Secure accounts with 2 step login (via phone SMS) reject sending email via SMTP (both RAW password & OAuth style, fail with a Authentication error). They will let you create the OAuth token but will not send email.