As far as I can see there is only one sourceforge C# SMTP client that has actually gone anywhere; OpenSmtp.Net (http://sourceforge.net/projects/opensmtp-net/).
That project is LGPL so we could not incorporate it into log4net directly, we would have to ship it as a referenced assembly. We would not be able to ship an apache distribution that contains portions that are licensed under the LGPL as it is not compatible with the apache licence (so they tell me). It should be very simple to write a new appender that uses the OpenSmtp.Net (or other favourite SMTP client) if the standard SmtpAppender done not meet requirements. In order to keep log4net as simple as possible to build and distribute I do not think it would be a good idea (in any case) to start adding dependant assemblies. If an enhanced SMTP appender is required it can always be packaged as a separate assembly. Nicko > -----Original Message----- > From: Denis, Rich [mailto:[EMAIL PROTECTED] > Sent: 11 August 2004 18:46 > To: Log4NET Dev > Subject: RE: Added Authentication to SMTPAppender > > Nicko, > If you search Sourceforge, you will see a few open source > SMTP clients with some of the more advanced features. Just > thought I would throw that out there. > > Rich Denis > perotsystems(tm) > -----Original Message----- > From: Nicko Cadell [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 11, 2004 12:37 PM > To: Log4NET Dev > Subject: RE: Added Authentication to SMTPAppender > > > This looks like a good update to add basic and NTLM authentication. > > It does look like there are going to be some restrictions using this. > The MailMessage.Fields property was added in .NET 1.1 so we > can only use > it in the NET_1_1 build. And the authentication is actually > performed by > CDO and therefore will only work on Windows platforms (I > don't even know > if it will work on all windows platforms). > > The only way that I can see of getting around these > limitations would be > to write a totally new SMTP client that is 100% managed. > > I am going to see if I can integrate these changes in to the > SmtpAppender and do some testing. > > Nicko > > > -----Original Message----- > > From: Alisdair Little [mailto:[EMAIL PROTECTED] > > Sent: 11 August 2004 15:05 > > To: [email protected] > > Subject: Added Authentication to SMTPAppender > > > > Hi, > > > > I have added SMTP authentication to the SMTPAppender. > > To facilitate this feature; > > Authentication, Port, Username, Password properties have been added. > > > > The configuration example has been updated with the new > > settings; <appender name="SmtpAppender" > > type="log4net.Appender.SmtpAppender"> > > <to value="[EMAIL PROTECTED]" /> > > <from value="[EMAIL PROTECTED]" /> > > <subject value="test logging message" /> <smtpHost > > value="SMTPServer.domain.com" /> <authentication="1" /> > > <username="username" /> <password="password" /> <port="1234" > > /> <bufferSize value="512" /> <lossy value="true" /> > > <evaluator type="log4net.Core.LevelEvaluator"> > > <threshold value="WARN"/> > > </evaluator> > > <layout type="log4net.Layout.PatternLayout"> > > <conversionPattern value="%n%d [%t] %-5p %c [%x] - %m%n%n%n" > > /> </layout> </appender> > > > > This is the first time I have contributed any code to an open > > source project, so, I hope it's okay. > > > > Thanks, > > > > Al Little. > > > > ________________________________ > > > > Do you Yahoo!? > > Yahoo! Mail > > <http://us.rd.yahoo.com/mail_us/taglines/50x/*http://promotion > > s.yahoo.com/new_mail/static/efficiency.html> - 50x more > > storage than other providers! > > >
