66886/javax-messagingexception-could-connect-smtp-gmail-jenkins
I am trying to configure one jenkins job that will send me one email notification. But I am not able to send emails from Jenkins. It shows me the below error.
javax.mail.messagingexception: could not connect to SMTP host: smtp.gmail.com, port: 465.
Hi@akhtar,
In general, gmail will not allow any other application to log in in your account. But if you want to use your gmail account, for that you have to allow less secure app in your gmail account.
Hope this will help you.
Hi,
You have to allow less secure app in your Gmail account. Login to your Gmail account and go to the security option. You will find a less sure app option.
set "host_key_checking = False" in /etc/ansible/ansible.cfg READ MORE
Go to /etc/yum.repo.d and delete jenkins.io package. Then ...READ MORE
Hi@akhtar, To launch one new node via SSH, ...READ MORE
Hi@akhtar, Yes, you can change Jenkins port no. ...READ MORE
Hey @nmentityvibes, you seem to be using ...READ MORE
Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE
It can work if you try to put ...READ MORE
When you use docker-compose down, all the ...READ MORE
Hi@akhtar, You need to give to the jenkins ...READ MORE
Hi@akhtar, I guess you are trying to use ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.