logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curt Arnold <carn...@apache.org>
Subject Re: SMTP Appender
Date Fri, 14 Nov 2008 17:27:30 GMT

On Nov 12, 2008, at 5:40 PM, Joe White wrote:

>
>
>  I'm trying to use the SMTP Appender but my mail host requires  
> authentication.
>
>  What are the poper log4j.properties entry for username, password  
> and the port?
>
>  My host runs off of port 26, not 25.
>
>

log4j.appender.YOURAPPENDERNAME.smtpUsername=USERNAME
log4j.appender.YOURAPPENDERNAME.smtpPassword=PASSWORD
log4j.appender.YOURAPPENDERNAME.smtpPort=PORT

Port is in the current source, but not in the last release.  We need  
to cut a log4j 1.2.16 soon.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message