Couldn't able to send mails in Jenkins 2.17

Hi,

Error message looks like shown below:

java.net.SocketException: Connection closed by remote host

at sun.security.ssl.SSLSocketImpl.checkWrite(Unknown Source)

at sun.security.ssl.AppOutputStream.write(Unknown Source)

at com.sun.mail.util.TraceOutputStream.write(TraceOutputStream.java:114)

at java.io.BufferedOutputStream.flushBuffer(Unknown Source)

at java.io.BufferedOutputStream.flush(Unknown Source)

at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:2104)

Caused: javax.mail.MessagingException: Can’t send command to SMTP host;
nested exception is:
java.net.SocketException: Connection closed by remote host

at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:2106)

at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:2093)

at com.sun.mail.smtp.SMTPTransport.close(SMTPTransport.java:1184)

at javax.mail.Transport.send0(Transport.java:197)

at javax.mail.Transport.send(Transport.java:124)

Thanks,
Ajay