Return-Path: Delivered-To: apmail-logging-log4net-user-archive@www.apache.org Received: (qmail 19700 invoked from network); 20 Feb 2006 11:19:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Feb 2006 11:19:39 -0000 Received: (qmail 10968 invoked by uid 500); 20 Feb 2006 11:18:36 -0000 Delivered-To: apmail-logging-log4net-user-archive@logging.apache.org Received: (qmail 10944 invoked by uid 500); 20 Feb 2006 11:18:36 -0000 Mailing-List: contact log4net-user-help@logging.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Log4NET User" List-Id: Delivered-To: mailing list log4net-user@logging.apache.org Received: (qmail 10932 invoked by uid 99); 20 Feb 2006 11:18:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Feb 2006 03:18:35 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_POST,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [62.24.128.69] (HELO smtp-2.opaltelecom.net) (62.24.128.69) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Feb 2006 03:18:34 -0800 Received: from [62.24.170.28] (helo=01COR699) by smtp-2.opaltelecom.net with esmtp (Exim 3.36 #1) id 1FB93T-0001Oo-00 for log4net-user@logging.apache.org; Mon, 20 Feb 2006 11:18:11 +0000 From: "Fahad Sarwar" To: Subject: SMTPAppender Date: Mon, 20 Feb 2006 11:18:11 -0000 Message-ID: <001e01c6360f$55f53360$1c06a8c0@01COR699> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001F_01C6360F.55F53360" X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 thread-index: AcY2D1V5lTjUUCIFTmC1KvyyWSix1g== X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_001F_01C6360F.55F53360 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi All, Jsut a quick query. When sending email log messages, using the SMTP Appender, the Subject is always constant (defined in the config file). Is it possible to send a different Subject out depending on the message ie if i log at INFO level, send one subject header and for an ERROR log send a different subject header. regards Fahad Sarwar Opal Telecom Applications Team Irlam Tel: +44 161 222 2145 Fax: +44 161 222 2008 Email: fsarwar@opaltelecom.co.uk This communication together with any attachments transmitted with it ("this E-Mail") is intended only for the use of the addressee and may contain information which is privileged and confidential. If the reader of this E-Mail is not the intended recipient or the employee or agent responsible for delivering it to the intended recipient you are hereby notified that any use, dissemination, forwarding, printing or copying of this E-Mail is strictly prohibited. Addressees should check this E-mail for viruses. The Company makes no representations as regards the absence of viruses in this E-Mail. If you have received this E-Mail in error please notify our IT Support Team immediately by telephone on 0845 456 9100 or via e-mail at support@opaltelecom.co.uk Please then immediately delete, erase or otherwise destroy this E-Mail and any copies of it. Any opinions expressed in this E-Mail are those of the author and do not necessarily constitute the views of the Company. Nothing in this E-Mail shall bind the Company in any contract or obligation. For the purposes of this E-Mail "the Company" means Opal Telecom Ltd. Please feel free to visit our website: www.opaltelecom.co.uk Opal Telecom Ltd (Registered in England & Wales No. 3849133) Brinell Drive, Northbank Industrial Park, Irlam, Manchester M44 5BL. A member of the Carphone Warehouse Group of Companies ------=_NextPart_000_001F_01C6360F.55F53360 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hi=20 All,
 
Jsut a = quick=20 query.  When sending email log messages, using the SMTP Appender, = the=20 Subject is always constant (defined in the config file).  Is it = possible to=20 send a different Subject out depending on the message ie if i log at = INFO level,=20 send one subject header and for an ERROR log send a different = subject=20 header.
 
regards
 

Fahad = Sarwar

Opal=20 Telecom

Applications=20 Team

Irlam

Tel: +44 161=20 222 2145

Fax: +44 161=20 222 2008

Email:=20 fsarwar@opaltelecom.co.uk

 

This=20 communication together with any attachments transmitted with it ("this = E-Mail")=20 is intended only for the use of the addressee and may contain = information which=20 is privileged and confidential. If the reader of this E-Mail is not the = intended=20 recipient or the employee or agent responsible for delivering it to the = intended=20 recipient you are hereby notified that any use, dissemination, = forwarding,=20 printing or copying of this E-Mail is strictly prohibited. Addressees = should=20 check this E-mail for viruses. The Company makes no representations as = regards=20 the absence of viruses in this E-Mail. If you have received this E-Mail = in error=20 please notify our IT Support Team immediately by telephone on 0845 456 = 9100 or=20 via e-mail at support@opaltelecom.co.uk Please then immediately delete, = erase or=20 otherwise destroy this E-Mail and any copies of = it.

Any=20 opinions expressed in this E-Mail are those of the author and do not = necessarily=20 constitute the views of the Company. Nothing in this E-Mail shall bind = the=20 Company in any contract or obligation.

For the=20 purposes of this E-Mail "the Company" means Opal Telecom Ltd.  Please feel free to visit our = website:=20 www.opaltelecom.co.uk

Opal=20 Telecom Ltd (Registered in England = &=20 Wales = No.=20 3849133)

Brinell=20 Drive, = Northbank=20 Industrial=20 Park, = Irlam,=20 Manchester = M44=20 5BL.

A = member of=20 the Carphone Warehouse Group of Companies

 
------=_NextPart_000_001F_01C6360F.55F53360--