jenkinsci/email-ext-plugin — pull request #95 by robin-knight (2014-08-13 00:42:56+00:00)
Title: add smtp timeout to avoid hang

It is possible to get a hanging behavior using the ext-email plugin when connecting to old smtp servers. The following timeout properties are set in the same way as the Mailer plugin in Mailer.java, createSession method to avoid this problem. If the smtp server is in a bad state this timeout will cause an error to be thrown rather than an infinite wait for a socket read.