2013年8月21日

jenkins send email from google smtp server configuration

SMTP server: smtp.gmail.com

Use SMTP Authentication: yes
User Name: your_email
Password: your_password

Use SSL: yes
SMTP Port: 465
Charset: UTF-8

About "javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection"

vi /etc/sysconfig/jenkins
JENKINS_JAVA_OPTIONS="-Djava.awt.headless=true -Dmail.smtp.starttls.enable=true"

/etc/init.d/jenkins restart