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 [EMAIL PROTECTED]

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

--- shadow/80807        2007-02-12 10:16:43.000000000 -0500
+++ shadow/80807.tmp.8386       2007-02-12 10:16:43.000000000 -0500
@@ -0,0 +1,27 @@
+Bug#: 80807
+Product: Mono: Class Libraries
+Version: unspecified
+OS: Windows XP
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 001 One hour
+Priority: Normal
+Component: System
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: System.Net.MailMessage#To is null when I use the parameterless 
constructor
+
+MailAddress from = new MailAddress("[EMAIL PROTECTED]");
+MailMessage m = new MailMessage();
+m.From = from;
+m.To.Add("[EMAIL PROTECTED]"); //Throws NullException
+
+
+In MS .Net in works as expected. 
+
+I've tried it on WinXp and on SuSE9 with the same result.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to