I want to create a java program that sends mails from my java app. I am using Gmail as the email provider and their servers.
My code works there are no errors or bugs, but Google security wont allow me to run it. It blocks the process.
Here is what I get when I visit my Google account after I run my java app:
Does anyone know if I can change that anywhere in my Google account settings?
Thank you in advance!
Your emailing service is being blocked because google thinks it not secure(which it isnt)
In order to allow request to go through you must turn on "Let less secure apps access my account" in your gmail settings.