Use smtpProtocol="smtps" to use TLS. Supported protocols are mainly dependent on the underlying javax.mail API provider.
On 21 February 2017 at 17:44, Benjamin Jaton <benjamin.ja...@gmail.com> wrote: > Hello, > > Is there a way to use TLS when sending emails through the SMTP appender? > https://logging.apache.org/log4j/2.x/manual/appenders.html#SMTPAppender > > Thanks > Benjamin > -- Matt Sicker <boa...@gmail.com>