Win a copy of Securing DevOps this week in the Security forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

javax.mail.MessagingException  RSS feed

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

I am writing a code configure an inbox in android device,but I am getting javax.mail.MessagingException. And I do not know why?
Following is a code


Please guide me.
 
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you going to tell us the details of that exception, or are we supposed to guess?
 
Hardik Trivedi
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Lester Burnham wrote:Are you going to tell us the details of that exception, or are we supposed to guess?



Following is the stacktrace given by LogCat


 
Ranch Hand
Posts: 633
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Add following permission in your AndroidManifest.xml
 
Hardik Trivedi
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Pramod,

yes you are right.Problem was of permission
 
You can thank my dental hygienist for my untimely aliveness. So tiny:
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!