Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Exception while sending an email using smtp and outh token in android  RSS feed

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

While sending an email in android using JavaMail API and OAUTH2 token the below error is occurring.

334eyJzdGF0dXMiOiI0MDAiLCJzY2hlbWVzIjoiQmVhcmVyIiwic2NvcGUiOiJodHRwczovL21haWwuZ29vZ2xlLmNvbS8ifQ==

Help me to solve this issue.
 
Rancher
Posts: 42975
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's not a complete error message. Surely there is more in the logcat output?

How are you using JavaMail on Android? AFAIK, stock JavaMail is not compatible with Android, hence the need for http://code.google.com/p/javamail-android/
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!