• Post Reply Bookmark Topic Watch Topic
  • New Topic

how do i give permision for my app to send mail via gmail  RSS feed

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i created an app using the java mail api for android but when i send the email google blocks it and says Sign-in attempt prevented,how do i allow it to go thru
 
Saloon Keeper
Posts: 4426
108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The app would need the Android INTERNET permission, but it doesn't sound like that's the problem you're running into. Post relevant code excerpts along with the exact error messages or stacktraces those result in.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!