Hi,

I am using SMTPAppender. The program compiles well and when running gives
me an error
"javax.mail.MessagingException: 505 Authentication required"

I am using log4j-1.2.4 on a Windows NT machine. The mailserver is Exchange.

This is my properties file:
**************************************************************************
log4j.rootCategory=DEBUG, dest3
log4j.appender.dest3=org.apache.log4j.net.SMTPAppender
log4j.appender.dest3.To=xxxxx
log4j.appender.dest3.From=xxxxx
log4j.appender.dest3.SMTPHost=yyyyy
log4j.appender.dest3.Subject=TEST-LOG4J
log4j.appender.dest3.LocationInfo=true
log4j.appender.dest3.layout=org.apache.log4j.PatternLayout
log4j.appender.dest3.layout.ConversionPattern=%p - %l %d{ISO8601} %n %m %n
**************************************************************************

Can anyone help me with "505: Authentication required"?


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to