[Mono-bugs] [Bug 76972][Nor] Changed - System.Net.Mail.MailMessage problem

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Dec 13 17:32:11 EST 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by awaddell at fnfr.com.

http://bugzilla.ximian.com/show_bug.cgi?id=76972

--- shadow/76972	2005-12-13 15:11:13.000000000 -0500
+++ shadow/76972.tmp.7015	2005-12-13 17:32:11.000000000 -0500
@@ -111,6 +111,26 @@
 
 
 How often does this happen? 
 
 
 Additional Information:
+
+------- Additional Comments From awaddell at fnfr.com  2005-12-13 17:32 -------
+Proposed patch:
+[awaddell at AWLNX src]$ more mailfix.txt 
+Index: mcs/class/System/System.Net.Mail/MailMessage.cs
+===================================================================
+--- mcs/class/System/System.Net.Mail/MailMessage.cs     (revision 54310)
++++ mcs/class/System/System.Net.Mail/MailMessage.cs     (working copy)
+@@ -68,7 +68,7 @@
+                        attachments = new AttachmentCollection ();
+                        bcc = new MailAddressCollection ();
+                        cc = new MailAddressCollection ();
+-                       bodyContentType = new ContentType
+(MediaTypeNames.Application.Octet);
++                       bodyContentType = new ContentType
+(MediaTypeNames.Text.Plain);
+                        headers = new NameValueCollection ();
+ 
+                        headers.Add ("MIME-Version", "1.0");
+[awaddell at AWLNX src]$ 


More information about the mono-bugs mailing list