You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Benjamin Jaton <be...@gmail.com> on 2017/02/21 23:44:58 UTC
SMTP appender and TLS
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
Re: SMTP appender and TLS
Posted by Matt Sicker <bo...@gmail.com>.
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 <be...@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 <bo...@gmail.com>