javax.mail.messagingexception: could not connect to SMTP host: smtp.Gmail.com, port: 465 in jenkins.

0 votes

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.
Apr 16 in Jenkins by akhtar
• 14,030 points
269 views

1 answer to this question.

0 votes

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.

answered Apr 16 by MD
• 31,430 points

Related Questions In Jenkins

0 votes
1 answer

Not able to connect remote host via jenkins to run ansible playbook

set "host_key_checking = False" in /etc/ansible/ansible.cfg READ MORE

answered Dec 2, 2019 in Jenkins by pavan

reshown Dec 2, 2019 by Vardhan 3,155 views
0 votes
1 answer

not able to launch new node via SSH in Jenkins!

Hi@akhtar, To launch one new node via SSH, ...READ MORE

answered May 29 in Jenkins by MD
• 31,430 points
32 views
0 votes
1 answer

How to change the default Jenkins port in Windows?

Hi@akhtar, Yes, you can change Jenkins port no. ...READ MORE

answered Jun 3 in Jenkins by MD
• 31,430 points
124 views
0 votes
1 answer

unable to compile java code in Jenkins

If the code is compiling and running ...READ MORE

answered Apr 25, 2018 in Jenkins by DareDev
• 6,850 points
666 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,420 points
533 views
0 votes
1 answer
0 votes
1 answer