Jenkins Email notification Failed to send out e-mail
Jenkins Email notification Failed to send out e-mail
M
Posted on 02/07/2016
Failed to send out e-mail
javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1922)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:638)
at javax.mail.Service.connect(Service.java:317)
at javax.mail.Service.connect(Service.java:176)
at javax.mail.Service.connect(Service.java:125)
at javax.mail.Transport.send0(Transport.java:194)
at javax.mail.Transport.send(Transport.java:124)
Do I need to do extra configuration to send email notification ? I have entered valid email address where i CAN login to my mail account successfully. But I am not getting build failed Email notification from Jenkins.
M
Replied on 02/07/2016
are you using proxy or vpn?
M
Replied on 02/07/2016
No I am using VPN
M
Replied on 03/07/2016
that is the problem.
Jenkins cannot reach "smtp.gmail.com"
M
Replied on 04/07/2016
Can you please guide me how to solve this issue
M
Replied on 04/07/2016
you have to talk to your network supervisor. i cannot help it is a internal network issue.