Re: Customized mail subject fo SmtpAppender

2009-12-09 Thread Petite Escalope
erties["mailsubject"] = >> subjectDetails;* >> *Log.Mail.Info(msg);* >> *log4net.ThreadContext.Properties.Clear();* >> *}* >> * >> * >> But it renders CovCake LOG INFO : (null). >> * >> * >> Is there a way to customize mail s

Re: Customized mail subject fo SmtpAppender

2009-12-08 Thread Pascal ROZE
ties.Clear();* > *}* > * > * > But it renders CovCake LOG INFO : (null). > * > * > Is there a way to customize mail subject natively (i mean without > overriding existing classes or extending the SmtpAppender)? > * > * > *T*hank you very much. Sorry for my english. > > Best *regards* > > >

Customized mail subject fo SmtpAppender

2009-12-07 Thread Petite Escalope
extending the SmtpAppender)? * * *T*hank you very much. Sorry for my english. Best *regards*

Customized mail subject fo SmtpAppender

2009-11-30 Thread Petite Escalope
extending the SmtpAppender)? * * *Thank you very much. Sorry for my english.* Best *regards*

RE: SmtpAppender - To addresses comma seperated, not semi-colon seperated...

2008-08-28 Thread Walden H. Leverich
L PROTECTED]> http://www.TechSoftInc.com <http://www.techsoftinc.com/> Quiquid latine dictum sit altum viditur. (Whatever is said in Latin seems profound.) From: Ron Grabowski [mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 2008 7:24 AM To: Log4NET User Subject: Re: SmtpApp

Re: SmtpAppender - To addresses comma seperated, not semi-colon seperated...

2008-08-28 Thread Ron Grabowski
I agree. I'll update the code. - Original Message From: Gert Driesen <[EMAIL PROTECTED]> To: Log4NET User Sent: Thursday, August 28, 2008 7:17:25 AM Subject: RE: SmtpAppender - To addresses comma seperated, not semi-colon seperated... Ron, I wanted to post this after

RE: SmtpAppender - To addresses comma seperated, not semi-colon seperated...

2008-08-28 Thread Gert Driesen
comma separated email addresses ourselves when approprioate. What do you think? Gert From: Ron Grabowski [mailto:[EMAIL PROTECTED] Sent: donderdag 28 augustus 2008 0:04 To: Log4NET User Subject: Re: SmtpAppender - To addresses comma seperated, not semi-colon seperated...

RE: SmtpAppender - To addresses comma seperated, not semi-colon seperated...

2008-08-27 Thread Walden H. Leverich
Latin seems profound.) From: Ron Grabowski [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2008 6:04 PM To: Log4NET User Subject: Re: SmtpAppender - To addresses comma seperated, not semi-colon seperated... https://issues.apache.org/jira/browse/LOG4NET-128 http://svn.apache.org/vi

Re: SmtpAppender - To addresses comma seperated, not semi-colon seperated...

2008-08-27 Thread Ron Grabowski
, 2008 5:05:08 PM Subject: SmtpAppender - To addresses comma seperated, not semi-colon seperated... Am I nuts, or must multiple addresses in the To of the SmtpAppender be COMMA separated, not semicolon separated as the documentation says? -Walden -- Walden H Leverich III Tech Software (516)

SmtpAppender - To addresses comma seperated, not semi-colon seperated...

2008-08-27 Thread Walden H. Leverich
Am I nuts, or must multiple addresses in the To of the SmtpAppender be COMMA separated, not semicolon separated as the documentation says? -Walden -- Walden H Leverich III Tech Software (516) 627-3800 x3051 [EMAIL PROTECTED] http://www.TechSoftInc.com <http://www.techsoftinc.

RE: SmtpAppender not working on 3rd party hosting provider

2008-04-30 Thread Pete Heist
Hi Ron- Thanks for the tip...that's true, I could have extended SmtpAppender, which may have been easier. I may end up doing that in the end, especially if I suspect my build is bad. As it turns out, I couldn't get the patch made in LOG4NET-79 working for me (don't think it would

Re: SmtpAppender not working on 3rd party hosting provider

2008-04-30 Thread Ron Grabowski
JIRA is down right now but couldn't you extend SmtpAppender in your own assembly and override the method(s) needed then use the SmtpAppender in your new assembly? I use GoDaddy.com too. I remember SmtpAppender working fine under ASP.Net 1.0. I think it stopped working when I upgrad

RE: SmtpAppender not working on 3rd party hosting provider

2008-04-30 Thread Pete Heist
[EMAIL PROTECTED] and targeted for version 1.2.11, which never came out. I guess I'll have to apply his patch by hand or not use the SmtpAppender under medium trust. thanks, Pete -Original Message- From: Pete Heist [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 30, 2008 6:08 PM To: &#x

RE: SmtpAppender not working on 3rd party hosting provider

2008-04-30 Thread Pete Heist
I found the SecurityException that's causing the SmtpAppender to fail. The stack trace is below. (I wasn't seeing it before as I'd had system.diagnostics redirected to a file, which was also causing a SecurityException that I didn't see.) Anyone know how to solve this on

RE: SmtpAppender not working on 3rd party hosting provider

2008-04-30 Thread Pete Heist
It's narrowed down a bit. If I set: on my development machine, the SmtpAppender fails silently, while my RollingFileAppenders still work. Incidently, I've got my log4net.config file in a separate file, rather than in my web.config file. This appears to be working OK, but as I'

RE: SmtpAppender not working on 3rd party hosting provider

2008-04-30 Thread Pete Heist
t property explicitly, I can tell that SmtpClient is picking up the right host from the section in my web.config file anyway: thanks, Pete -Original Message- From: Dean Fiala [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 30, 2008 3:54 PM To: 'Log4NET User' Subje

RE: SmtpAppender not working on 3rd party hosting provider

2008-04-30 Thread Dean Fiala
Have you tried specifiying the smtp server to use in your log4net config file... -Original Message- From: Pete Heist [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 30, 2008 9:05 AM To: log4net-user@logging.apache.org Subject: SmtpAppender not working on 3rd party hosting provider

SmtpAppender not working on 3rd party hosting provider

2008-04-30 Thread Pete Heist
I'm trying to figure out a situation where the SmtpAppender in my ASP.NET 3.5 application works properly on my development machine, but not on GoDaddy shared hosting. This might be easier, except that I can't see the output when log4net.Internal.Debug = true at GoDaddy, because we have

SmtpAppender To: addresses ...

2008-04-02 Thread Parrish, Ken
Log4net Users, I am using the SmtpAppender. The documentation explains that the field can contain a list of e-mail addresses separated by semi-colons. However, doing so, raises an exception in log4net: Generates the

Re: SmtpAppender subject

2008-02-21 Thread KStuart
It's usually worth searching the archives first http://www.nabble.com/SMTPAppender-tt3029005.html#a3029005 Morten Andersen-2 wrote: > > Hi > > I have a question about the SmtpAppender class. I want to have a dynamic > subject. It should contain the log level, and t

SmtpAppender subject

2008-02-20 Thread Morten Andersen
Hi I have a question about the SmtpAppender class. I want to have a dynamic subject. It should contain the log level, and the first line of the message. For example: log.Error("My error message") gives a subject like: "ERROR My error message" log.Fatal("My fatal messa

RE: SmtpAppender sending messages late

2007-11-28 Thread Roze, Pascal
Hi Try -Message d'origine- De : Johnson, Cedrick [mailto:[EMAIL PROTECTED] Envoyé : mardi 27 novembre 2007 19:38 À : log4net-user@logging.apache.org Objet : SmtpAppender sending messages late Howdy- I have a problem with the SMTP Appender in L4N that has stumped me for the b

SmtpAppender sending messages late

2007-11-27 Thread Johnson, Cedrick
ng for 'immediate' delivery of messages? I have BufferSize set to 1, which is ok, and lossy set to 'true' Thanks, Cedrick Here's what my SMTPAppender configuration looks like:

Re: Making SMTPAppender Send Exactly One Email

2007-07-14 Thread Ron Grabowski
This is an extended SmtpAppender that has its threshold property set to Error and should only ever process one message. // untested public class SendOnceErrorSmtpAppender : SmtpAppender { private bool sendOnce = true; public override void ActivateOptions() { Threshold

Re: Making SMTPAppender Send Exactly One Email

2007-07-14 Thread Marvin
Sanders, Brian wrote: > You could create a flag and initialize it to false. Then, if an error > occurs, set it to true and check it at the end of the run. If it's true, > then email the log file. So there's no way to do this with SMTPAppender itself? Then I'll rather use

RE: Making SMTPAppender Send Exactly One Email

2007-07-11 Thread Joe Waldner
Unsubscribe -Original Message- From: koala993 [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 11, 2007 7:51 AM To: log4net-user@logging.apache.org Subject: RE: Making SMTPAppender Send Exactly One Email I don't think this would work either : the bufferSize is actually the numb

RE: Making SMTPAppender Send Exactly One Email

2007-07-11 Thread koala993
wait before to receive an email. Parrish, Ken wrote: > > I believe you can 'more or less' get the behavior that you want by > adjusting the buffersize parameter for the SmtpAppender. This controls > how many log messages are 'ganged up' into a single e-mail. > &

RE: Making SMTPAppender Send Exactly One Email

2007-07-11 Thread Joe Waldner
unsubscribe -Original Message- From: koala993 [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 10, 2007 4:16 AM To: log4net-user@logging.apache.org Subject: Re: Making SMTPAppender Send Exactly One Email I don't think it's possible, a solution would be to be able to fire onl

RE: Making SMTPAppender Send Exactly One Email

2007-07-10 Thread Parrish, Ken
I believe you can 'more or less' get the behavior that you want by adjusting the buffersize parameter for the SmtpAppender. This controls how many log messages are 'ganged up' into a single e-mail. I often set this parameter to 0 or 1 in circumstances where I want t

RE: Making SMTPAppender Send Exactly One Email

2007-07-10 Thread Sanders, Brian
EMAIL PROTECTED] Sent: Tuesday, July 10, 2007 5:16 AM To: log4net-user@logging.apache.org Subject: Re: Making SMTPAppender Send Exactly One Email I don't think it's possible, a solution would be to be able to fire only once the "ERROR" log in this situation. Marvin-18 wrote: &g

Re: Making SMTPAppender Send Exactly One Email

2007-07-10 Thread koala993
thousands of emails about that. > One email would be more than enough. > > How could I achieve that? > > /Marvin > > -- View this message in context: http://www.nabble.com/Making-SMTPAppender-Send-Exactly-One-Email-tf4046060.html#a11517401 Sent from the Log4net - Users mailing list archive at Nabble.com.

Making SMTPAppender Send Exactly One Email

2007-07-08 Thread Marvin
Hi, I've read the documentation, but didn't manage to figure out whether the following is possible - and if so, how: I have an application that uses Log4Net (d'uh) and I'd like it to send me an email with all error messages of one application run. The reason is that when for instance the database

Re: Dynamic SmtpAppender subject

2006-12-21 Thread Ron Grabowski
t: 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 mes

Re: Dynamic SmtpAppender subject

2006-12-21 Thread Ron Grabowski
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

Dynamic SmtpAppender subject

2006-12-21 Thread Morten Andersen
Hi, Is it possible to use the log message as subject on the smtp appender? - Morten

RE: SmtpAppender

2006-03-26 Thread Nicko Cadell
log4net-user@logging.apache.org > Subject: SmtpAppender > > I have SmtpAppender configured to send messages to > [EMAIL PROTECTED] Now I want to configure Log4net.MainForm > logger to send messages to [EMAIL PROTECTED] and all the rest > loggers to [EMAIL PROTECTED] Can I d

RE: Logging to particular levels + buffering smtpappender

2006-03-26 Thread Nicko Cadell
> -Original Message- > From: electroteque [mailto:[EMAIL PROTECTED] > Sent: 17 March 2006 05:09 > To: Log4NET User > Subject: Re: Logging to particular levels + buffering smtpappender > > im taking it fr

Re: SmtpAppender and flooding

2006-03-18 Thread Ron Grabowski
> Hi! > > If, for example, our SQL server goes down I get allot of mails from > the > SmtpAppender. The content of the emails is the same, so a ignore > repeated lines function would have solved the problem. > > Is it another way I can prevent this? > > -- > > Be

SmtpAppender and flooding

2006-03-18 Thread Morten Andersen
Hi! If, for example, our SQL server goes down I get allot of mails from the SmtpAppender. The content of the emails is the same, so a ignore repeated lines function would have solved the problem. Is it another way I can prevent this? -- Best Regards Morten Andersen Developer Vianett AS

Re: Logging to particular levels + buffering smtpappender

2006-03-16 Thread electroteque
im taking it from the example though ? Is there anyway for the filelog to only log info , warn and error levels and the debug level will be just for debugging in the console ? On 17/03/2006, at 4:01 PM, Ron Grabowski wrote: Try ad

Re: Logging to particular levels + buffering smtpappender

2006-03-16 Thread Ron Grabowski
Try adding a threshold node to the appender node: --- electroteque <[EMAIL PROTECTED]> wrote: > > On 17/03/2006, at 11:42 AM, electroteque wrote: > > > Hi there, I was wondering if there was a possibility of being able > to > > log to file all levels e

Re: Logging to particular levels + buffering smtpappender

2006-03-16 Thread electroteque
On 17/03/2006, at 11:42 AM, electroteque wrote: Hi there, I was wondering if there was a possibility of being able to log to file all levels except the debug level which i want the console only to display ? Also how is it possible to buffer all the logs going to smtp appender and send it once the

Logging to particular levels + buffering smtpappender

2006-03-16 Thread electroteque
Hi there, I was wondering if there was a possibility of being able to log to file all levels except the debug level which i want the console only to display ? Also how is it possible to buffer all the logs going to smtp appender and send it once the program has finished or exiting with an error

SmtpAppender

2006-03-09 Thread Vladimir Kovalenko
I have SmtpAppender configured to send messages to  [EMAIL PROTECTED]. Now I want to configure Log4net.MainForm logger to send messages to [EMAIL PROTECTED] and all the rest loggers to [EMAIL PROTECTED]. Can I do that with configuration file?   Best Regards, Vladimir Kovalenko

RE: Double configuration and SmtpAppender configuration

2006-03-02 Thread Nicko Cadell
h 2006 09:20 > To: log4net-user@logging.apache.org > Subject: Double configuration and SmtpAppender configuration > > Hi, I need some help. > > > > 1) I want to configure log level for Log4net.MainForm

Double configuration and SmtpAppender configuration

2006-03-02 Thread Vladimir Kovalenko
WARN" />   <appender-ref ref="CustomAppender" />     logger>         <logger name="Log4net.MainForm">   <level value="ALL" />   <appender-ref ref="AdoNetAppender" />   <appender-ref ref="SmtpAppender&quo

RE: SMTPAppender

2006-02-20 Thread Nicko Cadell
Sarwar [mailto:[EMAIL PROTECTED] > Sent: 20 February 2006 12:19 > To: 'Log4NET User' > Subject: RE: SMTPAppender > > That's great. Thanks. > > Do you know if there is an appender which would allow you to > send Attachments with each email that is gener

RE: SMTPAppender

2006-02-20 Thread Fahad Sarwar
That's great. Thanks. Do you know if there is an appender which would allow you to send Attachments with each email that is generated. -Original Message- From: Nicko Cadell [mailto:[EMAIL PROTECTED] Sent: 20 February 2006 12:11 To: Log4NET User Subject: RE: SMTPAppender The bui

RE: SMTPAppender

2006-02-20 Thread Nicko Cadell
The built-in SmtpAppender does not support parameterise the subject line. There is an example appender in the 1.2.9 release that does: SimpleSmtpAppender. You can find the source for it at log4net-1_2_9\examples\net\1.0\Appenders\SampleAppendersApp\cs\src\Appen der This appender does not buffer

SMTPAppender

2006-02-20 Thread Fahad Sarwar
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

RE: SmtpAppender and SSL

2006-02-16 Thread Ron Grabowski
SmtpClient does not exist in .NET 1.1. Try writing your own appender: // untested public class SmtpClientSmtpAppender : SmtpAppender { override protected void SendBuffer(LoggingEvent[] events) { try { StringWriter writer = new StringWriter

RE: SmtpAppender and SSL

2006-02-16 Thread Vladimir Kovalenko
PROTECTED]", "subject", "body"); client.Send(mail); -Original Message- From: Ron Grabowski [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 1:39 AM To: Log4NET User Subject: RE: SmtpAppender and SSL Could you post the snippet of code you&

RE: SmtpAppender and SSL

2006-02-15 Thread Ron Grabowski
Could you post the snippet of code you're using in your test application application to send mail? Maybe your application is setting something that log4net isn't. Have you thought about taking your working code and overriding one or two methods in SmtpAppender? ... --- Vladimir

RE: SmtpAppender and SSL

2006-02-15 Thread Vladimir Kovalenko
Yes. It works correctly. -Original Message- From: Ron Grabowski [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 15, 2006 2:16 PM To: Log4NET User Subject: Re: SmtpAppender and SSL Have you verified that you're able to send mail through GMail by creating a simple console ap

Re: SmtpAppender and SSL

2006-02-15 Thread Ron Grabowski
Have you verified that you're able to send mail through GMail by creating a simple console app and System.Web.Mail? --- Vladimir Kovalenko <[EMAIL PROTECTED]> wrote: > Hi. > > I am currently experiencing the following problem: I am using > SmtpAppender. > E-mails a

SmtpAppender and SSL

2006-02-15 Thread Vladimir Kovalenko
Hi. I am currently experiencing the following problem: I am using SmtpAppender. E-mails are sent via smtp.gmail.com which uses SSL. My configuration file looks like that:                                       I receive the following runtime error:   log4net:ERROR [SmtpAppender

Re: SmtpAppender configuration error

2005-12-16 Thread TomekR
Mike Peschka phintec.com> writes: > > I suspect that the mail server is only configured to allow relay from > the loopback address (127.0.0.1). Using the machine name will resolve to > the actual IP address of the system, so the connection won't be allowed > to relay. Try setting SmtpMail.SmtpSe

RE: Re: SmtpAppender configuration error

2005-12-16 Thread Mike Peschka
uot;. That will resolve to the loopback address, and should allow you to relay. - Mike > -Original Message- > From: Nicko Cadell [mailto:[EMAIL PROTECTED] > Sent: Friday, December 16, 2005 7:16 AM > To: Log4NET User > Subject: RE: Re: SmtpAppender configuration error &g

Re: Re: SmtpAppender configuration error

2005-12-16 Thread TomekR
client of Smtp Mail and despite it the error occurs. If log4net uses SmtpMail, then shouldn't it act according to requirements of this class, i.e. to treat empty string (and even null string) as legal value of SmtpMail.SmtpServer property ? Because nowadays we have the situation, when Smtp

RE: Re: SmtpAppender configuration error

2005-12-16 Thread Nicko Cadell
the SmtpHost. If you need a different behaviour then you can just subclass the SmtpAppender and override the ActivateOptions method to set the SmtpHost property. Cheers, Nicko > -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of TomekR > Sent: 16 December 2

Re: SmtpAppender configuration error

2005-12-16 Thread TomekR
The solution presented by Nicko seems to be workaround. Anyway, I find the current behaviour of SmtpAppender method as some inconsistency: valid property value i.e. empty string is ignored by implementation -- Tomek

Re: SmtpAppender configuration error

2005-12-16 Thread TomekR
Nicko ! Thanks for response. Your way almost :-) worked. Look at the extract of my log: log4net: SmtpHost: [BSPDEVSERVER] log4net: SmtpMail.SmtpServer: [BSPDEVSERVER] log4net:ERROR 2005-12-16 08:25:53 Error occurred while sending e-mail notification. System.Web.H

RE: SmtpAppender configuration error

2005-12-15 Thread Nicko Cadell
You could set the SMTP host name to the name of the local computer rather than empty string Cheers, Nicko > -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of TomekR > Sent: 15 December 2005 16:32 > To: log4net-user@logging.apache.org > Subjec

SmtpAppender configuration error

2005-12-15 Thread TomekR
Hello ! (I've browsed this list to avoid duplicate threads, but if this problem was already announced then forgive me). Let imagine following scenario: 1. my app uses smpt appender, which is configured using ConfigureAndWatch. Initially the property smtpHost is set to MyMailServer.net. Some l

Re: SmtpAppender fails to send - System.Web.HttpException: Could not access 'CDO.Message' object

2005-11-10 Thread Ron Grabowski
D> 250-mail.example.com 250-PIPELINING 250-SIZE 31457280 250 8BITMIME 504 Unrecognized authentication type You could write an async smtp appender that records failed mail sends. --- "Moss, Barney" <[EMAIL PROTECTED]> wrote: > Hi all- > I've noticed the SmtpAppender occasionally

SmtpAppender fails to send - System.Web.HttpException: Could not access 'CDO.Message' object

2005-11-10 Thread Moss, Barney
Hi all- I've noticed the SmtpAppender occasionally fails to send emails. I've run it with log4net debugging enabled and got this from the logs: log4net: Hierarchy: Shutdown called on Hierarchy [log4net-default-repository] log4net:ERROR [SmtpAppender] Error occurred while send

RE: SmtpAppender buffer flush (to mail) on shutdown.

2005-09-28 Thread Nicko Cadell
1.2.9 should be the right version to use. Let us know if you see the issue again. Cheers, Nicko > -Original Message- > From: Adam Jack [mailto:[EMAIL PROTECTED] > Sent: 28 September 2005 16:40 > To: Log4NET User > Subject: RE: SmtpAppender buffer flush (to mail) on shut

RE: SmtpAppender buffer flush (to mail) on shutdown.

2005-09-28 Thread Adam Jack
ry if this was all "lossy" related. Thanks for investigating. Regards, Adam -Original Message- From: Nicko Cadell [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 28, 2005 7:50 AM To: Log4NET User Subject: RE: SmtpAppender buffer flush (to mail) on shutdown. Adam, If the S

RE: SmtpAppender buffer flush (to mail) on shutdown.

2005-09-28 Thread Nicko Cadell
Adam, If the SmtpAppender is configured not to be lossy (i.e. Lossy=false) then the current buffer will be sent. If the appender is in lossy mode (Lossy=true) then the buffer is not sent when the appender is closed. As you are not seeing this behaviour, which version of log4net are you using

RE: SmtpAppender buffer flush (to mail) on shutdown.

2005-09-24 Thread Adam Jack
e.org' Subject: SmtpAppender buffer flush (to mail) on shutdown.   Howdy folks,   I hope this isn’t an FAQ, but I couldn’t find the answer in mailing list archives or in the documentation.   I have an SmtpAppender pretty much configured as in the example:    http://logging.apache.o

SmtpAppender buffer flush (to mail) on shutdown.

2005-09-20 Thread Adam Jack
Howdy folks,   I hope this isn’t an FAQ, but I couldn’t find the answer in mailing list archives or in the documentation.   I have an SmtpAppender pretty much configured as in the example:    http://logging.apache.org/log4net/release/config-examples.html#smtpappender   It is

Re: SmtpAppender and EventLogAppender

2005-09-09 Thread Ron Grabowski
the following level filter to achieve that: > > > > > > > Use the above filter filter element in your SmtpAppender > configuration > and see. > > Thanks, > > Shireesh Thanneru > > --- Farid LAOUFI <[EMAIL PROTECTED]> wrote: >

Re: SmtpAppender and EventLogAppender

2005-09-09 Thread Shireesh Thanneru
Try using the applying the following level filter to achieve that: Use the above filter filter element in your SmtpAppender configuration and see. Thanks, Shireesh Thanneru --- Farid LAOUFI <[EMAIL PROTECTED]> wrote: > Hello, > I'm doing a windows ser

SmtpAppender and EventLogAppender

2005-09-09 Thread Farid LAOUFI
Hello, I'm doing a windows service which uses a SmtpAppender and an EventLogAppender. The EventLogAppender logs all messages which level is greater or equal to DEBUG, the SmtpAppender all messages which level is greater or equal to ERROR. Now if I try this : ILog logger = LogManager.GetL

Re: SmtpAppender - Cannot Access CDO.Message

2005-04-21 Thread Norman
Thanks guys, sorry it took so long to reply. But, it was McAfee: > VirusScan Console > Access Protection > "Prevent mass mailing worm from sending email" > Configure exclusion list to include process (your application binary) that's responsible for sending out notification emails. That's it, prob

RE: SmtpAppender - Cannot Access CDO.Message

2005-04-17 Thread Baron Schwartz
2891461%40news1.calgary.shaw.ca&rn um=2 Nicko -Original Message- From: Norman Fung [mailto:[EMAIL PROTECTED] Sent: 13 April 2005 05:42 To: log4net-user@logging.apache.org Subject: SmtpAppender - Cannot Access CDO.Message Hi, I'm trying to send exception notificat

RE: SmtpAppender - Cannot Access CDO.Message

2005-04-16 Thread Nicko Cadell
om: Norman Fung [mailto:[EMAIL PROTECTED] > Sent: 13 April 2005 05:42 > To: log4net-user@logging.apache.org > Subject: SmtpAppender - Cannot Access CDO.Message > > Hi, I'm trying to send exception notification via log4net's > SmtpAppender. > But I'm having trouble deci

SmtpAppender - Cannot Access CDO.Message

2005-04-13 Thread Norman Fung
Hi, I'm trying to send exception notification via log4net's SmtpAppender. But I'm having trouble deciphering the following error message: System.Web.HttpException ... Cannot access "CDO.Message object" ... Here's what my appender looks like, I think

RE: SmtpAppender not working

2005-04-07 Thread Erik.Sargent
becames a real problem before fixing it. Erik -Original Message- From: Baron Schwartz [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 06, 2005 5:47 PM To: Log4NET User Subject: RE: SmtpAppender not working Yes, there is much to criticize about that architecture. I&#

RE: SmtpAppender not working

2005-04-07 Thread Baron Schwartz
e the impact down to 0.1% but make it even harder to track down! Nicko -Original Message- From: Baron Schwartz [mailto:[EMAIL PROTECTED] Sent: 06 April 2005 20:47 To: Log4NET User Subject: RE: SmtpAppender not working Right - sorry, I didn't word that very well. You know what I mean, but in case

RE: SmtpAppender not working

2005-04-07 Thread Nicko Cadell
TECTED] > Sent: 06 April 2005 20:47 > To: Log4NET User > Subject: RE: SmtpAppender not working > > Right - sorry, I didn't word that very well. You know what I > mean, but in case others don't, here is the source code in > src/Appender/SmtpAppender.cs: > >

RE: SmtpAppender not working

2005-04-06 Thread Baron Schwartz
why it would matter for 99% of the cases. -Original Message- From: Baron Schwartz [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 06, 2005 12:24 PM To: Log4NET User Subject: RE: SmtpAppender not working I agreed with you until I just thought of something: MailMessage uses static properties to

RE: SmtpAppender not working

2005-04-06 Thread Erik.Sargent
ailto:[EMAIL PROTECTED] Sent: Wednesday, April 06, 2005 12:24 PM To: Log4NET User Subject: RE: SmtpAppender not working I agreed with you until I just thought of something: MailMessage uses static properties to set the SMTP server etc. Tell me if I'm wrong, but that affects anything th

RE: SmtpAppender not working

2005-04-06 Thread Baron Schwartz
k at doing this it may be best to make the mail sending functionality of the SmtpAppender pluggable between the current MailMessage and an independent implementation. Nicko -Original Message- From: Baron Schwartz [mailto:[EMAIL PROTECTED] Sent: 24 March 2005 14:27 To: Log4NET User Subject

RE: SmtpAppender not working

2005-04-02 Thread Nicko Cadell
sure it this is necessarily the best use of resources as CDO works out of the box. If someone wants to look at doing this it may be best to make the mail sending functionality of the SmtpAppender pluggable between the current MailMessage and an independent implementation. Nicko > -

RE: SmtpAppender not working

2005-03-24 Thread Baron Schwartz
sending to that machine with the SMTP software I've written (telnet, too). I looked through the source code for the SmtpAppender more. I'm not sure how many people would use the more advanced settings, such as sending through the credentials of the process under which log4net runs

RE: SmtpAppender not working

2005-03-24 Thread Nicko Cadell
r+CDO Nicko > -Original Message- > From: Baron Schwartz [mailto:[EMAIL PROTECTED] > Sent: 21 March 2005 16:57 > To: log4net-user@logging.apache.org > Subject: SmtpAppender not working > > Hi, > > I've searched the web and read the manual and some of the &g

SmtpAppender not working

2005-03-21 Thread Baron Schwartz
Hi, I've searched the web and read the manual and some of the code, but feel free to point me somewhere there's an answer... I can't find much on this. My SmtpAppender isn't able to connect to the smtpHost. I'm on Windows using MS framework v1.1. Here's my con

RE: Can I use PatternLayout for Subject in SMTPAppender?

2004-11-29 Thread Nicko Cadell
This is not possible using the built-in SmtpAppender. The appender is designed to be able to log several events in a single email and therefore does not know which logging event to use to render the subject line, therefore the subject line is a static string. There is an example of how to

Can I use PatternLayout for Subject in SMTPAppender?

2004-11-29 Thread digit
I want to put the level of the error in to the Subject of the email message which SMTPAppender is sending, like: Is this possible, and then how? --- Þetta skeyti er sent með vefposti isl.is

RE: SMTPAppender

2004-11-18 Thread Patten, Stephen
Sweet! I'm finding this application to be worth it's weight in gold, Thank you very much. Stephen -Original Message- From: Nicko Cadell [mailto:[EMAIL PROTECTED] Sent: Thursday, November 18, 2004 5:31 AM To: Log4NET User Subject: RE: SMTPAppender Stephen, The SMTPApp

RE: SMTPAppender

2004-11-18 Thread Nicko Cadell
Stephen, The SMTPAppender uses System.Web.Mail which uses the CDO.Message COM object to send the mail. The CDO.Message To property supports multiple recipients by using a comma separated list. Examples: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdosys/ html

SMTPAppender

2004-11-18 Thread Patten, Stephen
Can I add more than one email address? If so what is the structure of the config?   Thank you, Stephen

RE: Set SMTPAppender to use IIS SMTP services

2004-10-27 Thread Nicko Cadell
The SMTPAppender just uses the system.web.mail package to send the mail. If an error is being generated by log4net you will need to enable internal debug to see it: http://logging.apache.org/log4net/release/manual/faq.html#internalDebug Nicko > -Original Message- > From:

Set SMTPAppender to use IIS SMTP services

2004-10-22 Thread Yue_Wu
Hi, I use log4net to log errors for a .NET web application, and send email via SMTPappender using IIS SMTP services. It works fine during development. After I deployed to the server using web setup, the log emails are not sending out. The SMTPhost is set as the computer name of the

RE: Email subject for SmtpAppender

2004-10-06 Thread Monsur Hossain
Thanks! Just as an aside, how often is the email archive search index updated? Searching for "SmtpAppender" in the archives returns nothing. -Original Message- From: Nicko Cadell [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 4:17 PM To: Log4NET User Subject:

RE: Email subject for SmtpAppender

2004-10-06 Thread Nicko Cadell
See http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED] .apache.org&msgNo=390 > -Original Message- > From: Monsur Hossain [mailto:[EMAIL PROTECTED] > Sent: 06 October 2004 16:16 > To: 'Log4NET User' > Subject: Email subject for SmtpAppender > >

Email subject for SmtpAppender

2004-10-06 Thread Monsur Hossain
I am using the SmtpAppender. Is there a way to pass arguments into the "subject" parameter? Ideally I'd like the timestamp and servername in the subject of the email. I guess the question boils down to can layout patterns be used for things other than log messages?

RE: SMTPAppender Placing variables in Subject field

2004-08-19 Thread Borton, Anthony
: RE: SMTPAppender Placing variables in Subject field Anthony, The SmtpAppender is designed to send several events in a single email. That makes it rather difficult to know which event to pull the subject from: first event, last event, event with highest level, what about multiple events at the

RE: SMTPAppender Placing variables in Subject field

2004-08-19 Thread Nicko Cadell
Anthony, The SmtpAppender is designed to send several events in a single email. That makes it rather difficult to know which event to pull the subject from: first event, last event, event with highest level, what about multiple events at the highest level. etc... Currently we don't try

  1   2   >