Ron Grabowski | 2 Oct 2010 06:26
Picon
Favicon

Re: Is there an SMTP appender limit

Whatever the Framework's limit is for MailMessage's To property. You'll probably 
be limited by whatever the mail server is setup to accept.

----- Original Message ----
From: "harry.douglass <at> pnc.com" <harry.douglass <at> pnc.com>
To: Log4NET User <log4net-user <at> logging.apache.org>
Sent: Thu, September 30, 2010 10:41:19 AM
Subject: Is there an SMTP appender limit

Just curious if there is any limit for the "to value" for the SmtpAppender.
I have about 10 emails I need to put in the to value, so is that ok?

Thanks,

Harry

The contents of this email are the property of PNC. If it was not addressed to 
you, you have no legal right to read it. If you think you received it in error, 
please notify the sender. Do not forward or copy without permission of the 
sender. This message may contain an advertisement of a product or service and 
thus may constitute a commercial electronic mail message under US Law. The 
postal address for PNC is 249 Fifth Avenue, Pittsburgh, PA 15222. If you do not 
wish to receive any additional advertising or promotional messages from PNC at 
this e-mail address, click here to unsubscribe. 
https://pnc.p.delivery.net/m/u/pnc/uni/p.asp By unsubscribing to this message, 
you will be unsubscribed from all advertising or promotional messages from PNC. 
Removing your e-mail address from this mailing list will not affect your 
subscription to alerts, e-newsletters or account servicing e-mails.

(Continue reading)

harry.douglass | 2 Oct 2010 06:28
Picon

Out of the office


I will be out of the office starting  10/01/2010 and will not return until
10/05/2010.

I will respond to your message upon my return.  If you need immediate
assistance, please contact Jim Snyder at (215) 585-6514.  Thank you.

The contents of this email are the property of PNC. If it was not addressed to you, you have no legal right to
read it. If you think you received it in error, please notify the sender. Do not forward or copy without
permission of the sender. This message may contain an advertisement of a product or service and thus may
constitute a commercial electronic mail message under US Law. The postal address for PNC is 249 Fifth
Avenue, Pittsburgh, PA 15222. If you do not wish to receive any additional advertising or promotional
messages from PNC at this e-mail address, click here to unsubscribe.
https://pnc.p.delivery.net/m/u/pnc/uni/p.asp By unsubscribing to this message, you will be
unsubscribed from all advertising or promotional messages from PNC. Removing your e-mail address from
this mailing 
 list will not affect your subscription to alerts, e-newsletters or account servicing e-mails.

Michael Schall | 2 Oct 2010 17:18
Picon

Re: Is there an SMTP appender limit

10 should be fine, but you could always use a distribution list.

Mike

On Oct 1, 2010, at 11:26 PM, Ron Grabowski <rongrabowski <at> yahoo.com> wrote:

> Whatever the Framework's limit is for MailMessage's To property. You'll probably 
> be limited by whatever the mail server is setup to accept.
> 
> 
> 
> ----- Original Message ----
> From: "harry.douglass <at> pnc.com" <harry.douglass <at> pnc.com>
> To: Log4NET User <log4net-user <at> logging.apache.org>
> Sent: Thu, September 30, 2010 10:41:19 AM
> Subject: Is there an SMTP appender limit
> 
> Just curious if there is any limit for the "to value" for the SmtpAppender.
> I have about 10 emails I need to put in the to value, so is that ok?
> 
> Thanks,
> 
> Harry
> 
> The contents of this email are the property of PNC. If it was not addressed to 
> you, you have no legal right to read it. If you think you received it in error, 
> please notify the sender. Do not forward or copy without permission of the 
> sender. This message may contain an advertisement of a product or service and 
> thus may constitute a commercial electronic mail message under US Law. The 
> postal address for PNC is 249 Fifth Avenue, Pittsburgh, PA 15222. If you do not 
(Continue reading)

Radovan Raszka | 26 Oct 2010 15:19
Picon
Favicon

RE: Problem compile log4net for NETCF 2.0

I have read documentation once more in deep and tried again with fresh sources from svn.
 
I have created new CF2.0 project (target device WindowsCE, CF 2.0, project type: class library) and added all source codes as mentioned in documentation.
Still no succes, StackFrame class used in LocationInfo.cs is not a part of CF. So I added some #if !NETCF to not use this class in CF build.
But some other classes are using StackFrame defined in LocationInfo (StackTraceDetailPatternConverter and StackTracePatternConverter). Because of this, I have detached there classes from CF project and skipped them in PatternLayout static constructor by #if !NETCF.
 
Compilation error count decreased significantly, so I did last reparations in FileAppender (CF doesn't support friendlyname for mutex) and RollingFileAppender (GetLastWriteTimeUtc not supported in CF) and it compiles without problems !!!
 
According to source code I guess that CF version is not built during development and changes in code even aren't checked against compact framework (!), what is surprising - nobody need to use log4net on WinCE or similar embedded/mobile platform?
If someone from development team is interested, I can provided CF project file with all my modifications in existing code.
 
Radovan Raszka


Od: Radovan Raszka [mailto:raszka <at> hasam.cz]
Odesláno: 11. února 2010 12:33
Komu: Log4NET User
Předmět: RE: Problem compile log4net for NETCF 2.0

even when compiled sucessfully, it has some unacceptable side effects. It compiles using .NET 2.0, not using CF 2.0 what leads that some .NET 2.0 libraries are deployed to my Win CE device. It is not possible as disk space is insufficient. So I finally compiled it from cmd line using CF 2.0, but resulting DLL doesn't work - see my code:
 

log4net.Appender.RollingFileAppender fa = new log4net.Appender.RollingFileAppender();

fa.AppendToFile = true;

fa.File = "hh.log";

fa.Layout = new log4net.Layout.PatternLayout("%date{dd-MM-yyyy HH:mm:ss} [%5level] %message%n"); <-- here is Exception thrown saying: Could not load type 'System.Diagnostics.StackFrame' from assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=969DB8053D3322AC'.

fa.RollingStyle = log4net.Appender.RollingFileAppender.RollingMode.Date;

fa.Threshold = log4net.Core.Level.Debug;

fa.ActivateOptions();

log4net.Config.BasicConfigurator.Configure(fa);

log4net.ILog log = log4net.LogManager.GetLogger(this.GetType());

It seems that there is still dependency on StackFrame class which is not a part of CF 2.0. Was anybody able to compile working log4net for CF 2.0 ? I looks like vey tricky task...
RR
 

Gmane