Hi I have the following email configuaration for my jenkins. I can't get it to test the configuration for email
SMTP SERVER: smtp.gmail.com
Default user e-mail suffix: @gmail.com
Use SMTP Authentication: checked
username: "my full gmail id:
password: "my gmail id password"
Use SSL: Checked
SMTP Port: 465
reply to address: [email protected]
Charset: UTF8
Test email recipient: "my full email id"
Can someone tell me why i still get the following error when i test configuration. I am using a windows 8 machine and tomcat as my server
Failed to send out e-mail
javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465;
nested exception is:
java.net.ConnectException: Connection timed out: connect
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1934)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:638
Give your full gmail id at "System Admin e-mail address" under Manage Jenkins -> configurations.
This might help as well.
https://www.safaribooksonline.com/library/view/jenkins-the-definitive/9781449311155/ch04s08.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With