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
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*
>
>
>
extending the SmtpAppender)?
*
*
*T*hank you very much. Sorry for my english.
Best *regards*
extending the SmtpAppender)?
*
*
*Thank you very much. Sorry for my english.*
Best *regards*
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
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
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...
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
, 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)
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.
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
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
[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:
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
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'
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
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
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
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
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
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
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
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:
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
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
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
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.
>
&
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
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
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
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.
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
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
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
Hi,
Is it possible to use the log message as subject on the smtp appender?
- Morten
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
> -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
> 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
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
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
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
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
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
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
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
WARN" />
<appender-ref ref="CustomAppender" />
logger>
<logger name="Log4net.MainForm">
<level value="ALL" />
<appender-ref ref="AdoNetAppender" />
<appender-ref ref="SmtpAppender&quo
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
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
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
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
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
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&
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
>
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
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
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
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
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
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
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
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
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:
>
>
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
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
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
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
> -
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
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
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
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
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
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
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
Can I add more than one email address? If so what is the
structure of the config?
Thank you,
Stephen
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:
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
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:
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
>
>
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
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
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 - 100 of 104 matches
Mail list logo