• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
johnson dubula
Ranch Hand
Posts: 33
  • 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
 
Tim Moores
Saloon Keeper
Posts: 3336
61
  • 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.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!