logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1510603 - /logging/log4net/trunk/src/Appender/SmtpAppender.cs
Date Mon, 05 Aug 2013 16:51:06 GMT
Author: bodewig
Date: Mon Aug  5 16:51:05 2013
New Revision: 1510603

URL: http://svn.apache.org/r1510603
Log:
SubjectEncoding is a .NET 2.0 thing

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=1510603&r1=1510602&r2=1510603&view=diff
==============================================================================
--- logging/log4net/trunk/src/Appender/SmtpAppender.cs (original)
+++ logging/log4net/trunk/src/Appender/SmtpAppender.cs Mon Aug  5 16:51:05 2013
@@ -519,7 +519,7 @@ namespace log4net.Appender
                     mailMessage.Bcc = m_bcc;
                 }
 				mailMessage.Subject = m_subject;
-#if !MONO
+#if !MONO && !NET_1_0 && !NET_1_1 && !CLI_1_0
 				mailMessage.SubjectEncoding = m_subjectEncoding;
 #endif
 				mailMessage.Priority = m_mailPriority;



Mime
View raw message