yep, the maillist / apidoc can help you ;-) for old log4j versions you can use this appender:
http://www.mail-archive.com/[email protected]/msg02657.html in log4j 1.2.14 it is implemented (but i did not yet use that so i can't tell more about that) http://logging.apache.org/log4j/docs/api/org/apache/log4j/net/SMTPAppender.html#getSMTPUsername() cheers patrick Abid Hussain wrote: > > Hallo everybody, > > I'm not an expert in log4j, so maybe I have overlooked something. But I > didn't found anything useful in the mailing-list-archives nor in google. > > I want to use SMTPAppender for logging, but I don't know how to tell > log4j how to authenticate (username and password) to the mail-server. > > Adding a property username and password in the log4j.properties doesn't > work yet log4j tells me that these are unknown properties. > > Maybe anybody can help me? > > Best regards, > > Abid > > -- > > Abid Hussain > Mail: [EMAIL PROTECTED] > Web: http://www.abid76.de > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/smtpappender-authentication-tf1747581.html#a7071544 Sent from the Log4j - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
