Here's an example: http://tinyurl.com/y9nr8x http://svn.apache.org/viewvc/logging/log4net/trunk/examples/net/1.0/Appenders/SampleAppendersApp/cs/src/Appender/SimpleSmtpAppender.cs?view=markup
----- Original Message ---- From: Ron Grabowski <[EMAIL PROTECTED]> To: Log4NET User <[email protected]> Sent: Thursday, December 21, 2006 10:22:00 PM Subject: Re: Dynamic SmtpAppender subject 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
