Al,

Sounds like a great idea. Why don't you subscribe to the dev list:
http://logging.apache.org/log4net/contributing.html
And post your patch there.

Cheers,

Nicko
 

> -----Original Message-----
> From: Alisdair Little [mailto:[EMAIL PROTECTED] 
> Sent: 06 August 2004 22:51
> To: [email protected]
> Subject: SMTPAppender authentication
> 
> Hi Guys,
> 
> I've recently started using the log4net logging service. As a 
> previous 
> Java user I was extremely happy to see a .Net version.
> 
> I started using the SmtpAppender and found that it did not 
> support authentication.
> I have got this working in with the 1.2.0-beta8 and wondered how to 
> have this added to the project, if it's worthy ;). 
>  
> I have the source for the SMTPAppender.cs but didn't want to 
> spam the group.
> 
> Thanks,
> 
> Al Little.
> 
> The Config Example
> 
> <appender name="SMTPAppender" type="log4net.Appender.SMTPAppender">
> <BufferSize value="1" />
> <param name="To" value="[EMAIL PROTECTED] 
> <http://us.f514.mail.yahoo.com/ym/[EMAIL PROTECTED]&Y
> Y=23387&order=down&sort=date&pos=0&view=a&head=b> " />
> <param name="From" value="[EMAIL PROTECTED] 
> <http://us.f514.mail.yahoo.com/ym/[EMAIL PROTECTED]&Y
> Y=23387&order=down&sort=date&pos=0&view=a&head=b> " />
> <Subject value="log4net Error Message" />
> <SMTPHost value="smtp.domain.com" />
> <param name="LocationInfo" value="false" />
> <param name="Authentication" value="1" />
> <param name="Username" value="username" />
> <param name="Password" value="password" />
> <param name="BufferSize" value="512" />
> <param name="Lossy" value="true" />
> <evaluator type="log4net.spi.LevelEvaluator">
>   <param name="Threshold" value="WARN" />
> </evaluator>
> <layout type="log4net.Layout.PatternLayout">
>    <param name="ConversionPattern" value="%n%d [%t] %-5p %c [%x] - 
> %m%n%n%n" />
> </layout>
> </appender>
> 
> 
> ________________________________
> 
> Do you Yahoo!?
> New and Improved Yahoo! Mail 
> <http://us.rd.yahoo.com/mail_us/taglines/10/*http://promotions
> .yahoo.com/new_mail/static/efficiency.html>  - Send 10MB messages!
> 

Reply via email to