Menu

Enable less secure app access to your google account

If you are trying to configure SMTP mailing service using gmail.smtp and you are getting following errors "Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1
--OR--
ERROR 20952 --- [         task-1] .a.i.SimpleAsyncUncaughtExceptionHandler : Unexpected exception occurred invoking async method: public void jorvee.service.EmailService.sendEmail(org.springframework.mail.SimpleMailMessage)
org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8  https://support.google.com/mail/?p=BadCredentials 200sm76430073pfz.121 - gsmtp
--OR--

ERROR 18335 --- [ task-2] .a.i.SimpleAsyncUncaughtExceptionHandler : Unexpected exception occurred invoking async method: public void jobtrees.service.EmailService.sendEmail(org.springframework.mail.SimpleMailMessage)
org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 534-5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbt
534-5.7.14 Learn more at
534-5.7.14 iC05HX07ZqNpOxwZG97A23wm3QihO6_1fPH781vcxEhWSCrdIXgikYN2holt0u2YZ2l2x 534-5.7.14 cX53zAOHNGSHJJAD7TrXgKGpWv_tg8wup1K7B79BdL0ZrQNJLj7SjTi-qZiwLQur> 534-5.7.14 Please log in via your web browser and then try again.
534 5.7.14 https://support.google.com/mail/answer/78754 m20sm22192035qkk.15 - gsmtp

although, your configuration are valid and correct, then, because of following reason you are facing this issue.

Your account is secured, and doesn't allow less secure applications to access.

By default Less secure app access is disabled in the google account. If you will enable this then it will fix your problem.
To enable the less secure app access in your google account, follow the below steps.
Step 1: Login to your google account.

Step 3: Under the section Less secure apps & your Google Account, expand option If "Less secure app access" is off for your account  or directly go to https://myaccount.google.com/lesssecureapps?pli=1

Step 4: Click on the turn it back on, this will redirect you to a new page.
Less secure apps & your Google Account
Less secure apps & your Google Account 

Step 5: See Allow less secure apps: status and; if this is OFF then ON it.
Allow less secure apps: ON
Allow less secure apps: ON
Step 6: Now go to Account access enabled page https://accounts.google.com/b/0/DisplayUnlockCaptcha  and enable this access.

References:



Unconstitutional CAA

Parliament of India has passed the citizenship amendment bill, which talks about give citizenship to immigrants based on religion. Migrants who are following the religions Hindu, Sikh, Christian, Parsi, and Jain will become citizens of India without any application and document.

Billions of people are protesting in the streets in Indian cities and villages against this bill which now became an act after successfully passing the bill in both the houses of parliaments. This act is unconstitutional and against the constitution of India, and a direct violation of Articles 14 and 21 of the Indian constitution.

Citizenship Amendment Act 2019

We the people of India are not against the immigrant and migrants who are getting citizenship in India under Citizenship Amendment Act 2019. We the people of India are against the following and this is why we are protesting:

This act is unconstitutional and directly destroying the fundamental rights of Indian constitution. Article 14 of Indian constitution says; The State shall not deny to any person equality before the law or the equal protection of the laws within the territory of India. Every individual in territory of India is equal.

Changes in existing Citizenship Act under Citizenship Amendment Act 2019.

Amendment of section 2 of Citizenship Act, 1955.
"Provided that any person belonging to Hindu, Sikh, Buddhist, Jain, Parsi or Christian community from Afghanistan, Bangladesh or Pakistan, who entered into India on or before the 31st day of December, 2014 and who has been exempted by the Central Government by or under clause (c) of sub-section (2) of section 3 of the Passport (Entry into India) Act, 1920 or from the application of the provisions of the Foreigners Act, 1946 or any rule or order made thereunder, shall not be treated as illegal migrant for the purposes of this Act;".
Above amendment in section 2 is completely discriminating human based on their faith. Why government of India only approving people belongs to six religions and three states and ignored the people from other than those nations and faiths?

After this act government of India is planning to implement nationwide National Register of Citizens(NRC). What is the intention behind doing NRC in whole India(on 130 million peoples)? If somehow a person who is living in India from hundreds of years unable to prove his/her citizenship then what will happen? Does he/she declared illegal immigrants and government will put them in detention center? 
Let me tell you what will happen, because of new amendment in Citizenship Act , people belong to those six religion(Hindu, Sikh, Buddhist, Jain, Parsi or Christian) will get the citizenship of India without any documentation and proof. But what will happen to people who not belongs to these community? What will happen to a person who believe in Islam or any other religion? Are they all going to detain?
At one side you are saying we have sympathy to migrant people, but don't you have sympathy to civilians of India? If govt of India is responsible to prepare and make the documents for migrants then govt of India should also take the responsibility to prepare the document of those people who are unable to proof their citizenship, but it will not.

We have an example of a small state Assam; where NRC has been implemented seven years ago. 1.9 million people from a small state Assam declared illegal immigrants. among them 14 lakh are Hindus and 5 lakh are Muslims. What govt has achieved till now? 28 death inside the detention centers and hundred death outside due to shock, lakh of people mentally tortured unable to live their life. Thousand of people sold their property to pay the lawyers to appeal their cases in High court to get the citizenship and many more.    

Our demand is to either revoke or scrap this act or include every migrant groups without any discrimination on the basis of origin, faith, color and race. Also we the people of India will not prove our citizenship to a government who was elected by same citizens. These the things are null and invalid, just only to waste the time of people of India so they can't get the time to think on basics and fundamental things, which are expected from government. like development, jobs, infrastructure, peace, inflation, and scams.

#IndiaAgainstCAA_NRC #CAAProtests #IndiaDoesNotSupportCAA

Amendment Act 2019 document: http://egazette.nic.in/WriteReadData/2019/214646.pdf