Hi, I have been successfully using google document list API authenticating through oAuth. I now want to send mails too from the users account (basically gain access to gmail smtp).
I added the required scope "https://mail.google.com/" while generating the oAuth tokens. But every time I try sending a mail i get "javax.mail.MessagingException: 535-5.7.1 Username and Password not accepted. " My questions are 1) can we really send out mails using google smtp ? 2) Is running "xoauth.py" (http://code.google.com/p/google-mail- xoauth-tools/wiki/XoauthDotPyRunThrough) the only way of generating access tokens for xoauth ? If I use this script to get the tokens then I am able to send out mails. Since I want to integrate this with my application running a py script for every user is not a good usability for me. Thanks -- You received this message because you are subscribed to the Google Groups "OAuth" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/oauth?hl=en.
