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 Abid Hussain <ab...@abid76.de> on 2006/06/07 14:25:37 UTC
smtpappender authentication
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: abid.hussain@abid76.de
Web: http://www.abid76.de
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org
Re: smtpappender authentication
Posted by Man-Chi Leung <ma...@gmail.com>.
hi ,
I could not find the properties for smtp authentication in
log4j.properties too.
pls help
~manchi
On 2006-06-07 20:25:37 +0800, Abid Hussain <ab...@abid76.de> said:
> 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
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org
Re: smtpappender authentication
Posted by patrick <Pa...@mobilesolutions.ch>.
yep, the maillist / apidoc can help you ;-)
for old log4j versions you can use this appender:
http://www.mail-archive.com/log4j-dev@jakarta.apache.org/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: abid.hussain@abid76.de
> Web: http://www.abid76.de
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>
>
--
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: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org