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 "Scheil, Sven" <ss...@cargosoft.de> on 2001/07/11 15:00:39 UTC
changing SMTPAppender subject line
Hi,
I would like to change the SMTPAppender, so the subject line isn't static
and I can control the content of the subject line from my source code.
A sample subject line:
servername fatal error: couldn't open database connection
The background is: I want to resend this emails via SMS and there is only
the subject used.
Is there someone who had done this before?
Sven
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org
Re: changing SMTPAppender subject line
Posted by Gray Jones <gr...@earthcars.com>.
We did something like this. Send me your email address and I'll send you
the code.
----- Original Message -----
From: "Scheil, Sven" <ss...@cargosoft.de>
To: "'LOG4J Users Mailing List'" <lo...@jakarta.apache.org>
Sent: Wednesday, July 11, 2001 9:00 AM
Subject: changing SMTPAppender subject line
>
> Hi,
>
> I would like to change the SMTPAppender, so the subject line isn't static
> and I can control the content of the subject line from my source code.
>
> A sample subject line:
>
> servername fatal error: couldn't open database connection
>
> The background is: I want to resend this emails via SMS and there is only
> the subject used.
>
> Is there someone who had done this before?
>
> Sven
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: log4j-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org