Please, add support for mail.smtp.connectiontimeout, mail.smtp.timeout and mail.smtp.writetimeout. They are infinite by default and if anything is wrong with smtp server - it causes thread locks since Transport.send in SMTPAppenderBase never exits. I know - there is a possibility to supply session via jndi - but there is too much effort duplication the code of buildSessionFromProperties because of 3 additional properties  |