logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dpsen...@apache.org
Subject svn commit: r1496053 - /logging/log4net/trunk/src/Appender/SmtpAppender.cs
Date Mon, 24 Jun 2013 13:49:37 GMT
Author: dpsenner
Date: Mon Jun 24 13:49:37 2013
New Revision: 1496053

URL: http://svn.apache.org/r1496053
Log:
LOG4NET-354 fix build errors for MONO since MONO does not implement the System.Web.Mail.MailMessage.SubjectEncoding
property

Modified:
    logging/log4net/trunk/src/Appender/SmtpAppender.cs

Modified: logging/log4net/trunk/src/Appender/SmtpAppender.cs
URL: http://svn.apache.org/viewvc/logging/log4net/trunk/src/Appender/SmtpAppender.cs?rev=1496053&r1=1496052&r2=1496053&view=diff
==============================================================================
--- logging/log4net/trunk/src/Appender/SmtpAppender.cs (original)
+++ logging/log4net/trunk/src/Appender/SmtpAppender.cs Mon Jun 24 13:49:37 2013
@@ -519,7 +519,9 @@ namespace log4net.Appender
                     mailMessage.Bcc = m_bcc;
                 }
 				mailMessage.Subject = m_subject;
+#if !MONO
 				mailMessage.SubjectEncoding = m_subjectEncoding;
+#endif
 				mailMessage.Priority = m_mailPriority;
 
 #if NET_1_1



Mime
View raw message