Win a copy of Serverless Applications with Node.js this week in the NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

Sending mail  RSS feed

 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey all,

I am making password recovery module for my software where I need send user data through user mail.

My code is:



The problem is that I am getting this mail from google (google 2-step verification is  disabled):

Someone just used your password to try to sign in to your account from a non-Google app. Google blocked them, but you should check what happened. Review your account activity to make sure that no one else has access.



Is there anything I can do about it or I have to find other way to send mail?
 
Gaios Augustus
Ranch Hand
Posts: 78
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Solution:

1.) Login into gmail account over Your web browser

2.) Go to this link: https://www.google.com/settings/security/lesssecureapps

3.) Click "Turn on"

 
Saloon Keeper
Posts: 5334
143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for reporting the solution - it is certainly not obvious.
 
Never trust an airline that limits their passengers to one carry on iguana. Put this tiny ad in your shoe:
Create Edit Print & Convert PDF Using Free API with Java
https://coderanch.com/wiki/703735/Create-Convert-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!