Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

Does Log4j2 smtp appender works without specifying smtpPassword field?

$
0
0

In the log4j2 offcial documentation there is a code snippet for the smtp appender .My Question here is there is no smtpPassword field included. Is it going to work? if yes then where exactly we are specifying the password.

<Appenders><SMTP name="Mail"           subject="Error Log"           to="errors@logging.apache.org"           from="test@logging.apache.org"          smtpHost="localhost"           smtpPort="25"           bufferSize="50"></SMTP></Appenders>

Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>