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! >
