logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Grabowski <rongrabow...@yahoo.com>
Subject "A log4net appender that uses SmtpClient" blog post about SmtpClientSmtpAppender for sending SSL mail in 2.0
Date Sat, 21 Apr 2007 02:18:30 GMT
Ted Graham posted code for a SmtpClientSmtpAppender that extends the SmtpAppender by using
the SmtpClient from .NET 2.0 to communicate over SSL with a mail server:

 

http://weblogs.asp.net/tgraham/archive/2007/04/20/a-log4net-appender-that-uses-smtpclient.aspx



An additional option would be to be to send all the log messages as a file attachment (and/or
zipped file attachment) and only include the most recent message in the body of the email.






Mime
View raw message