Its not possible with the current implementation of SmtpAppender. I recall 
someone posting code showing how it could be done (its not terribly difficult).

If the SmtpAppender is setup to buffer messages, what message should appear in 
the subject: the most recent one, the first one, the most critical one?

I think it would be an ok idea to consider making more properties aware of 
layouts instead of just strings.

----- Original Message ----
From: Morten Andersen <[EMAIL PROTECTED]>
To: Log4NET User <[email protected]>
Sent: Thursday, December 21, 2006 2:12:14 PM
Subject: Dynamic SmtpAppender subject

Hi,

Is it possible to use the log message as subject on the smtp appender?

- Morten



Reply via email to