[Mono-bugs] [Bug 51177][Maj] New - MailMessageWrapper - a typo in MailFormat

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 19 Nov 2003 16:20:42 -0500 (EST)


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 ximian@aksi.mdamt.net.

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

--- shadow/51177	2003-11-19 16:20:42.000000000 -0500
+++ shadow/51177.tmp.7882	2003-11-19 16:20:42.000000000 -0500
@@ -0,0 +1,46 @@
+Bug#: 51177
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: System.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: ximian@aksi.mdamt.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: MailMessageWrapper - a typo in MailFormat
+
+Description of Problem:
+this typo will cause all mails sent to be a "text/html" format
+
+MailMessage mail = new MailMessage ();
+
+mail.To = "test@test.com";
+mail.From = "from@domaon.com";
+mail.Subject = "test";
+mail.Body = "test";
+mail.BodyFormat = MailFormat.Text;
+SmtpMail.SmtpServer = smtp;
+SmtpMail.Send(mail);
+
+Steps to reproduce the problem:
+1. try the code
+2. 
+3. 
+
+Actual Results:
+the mail will have text/html content-type
+
+Expected Results:
+should be text/plain
+
+How often does this happen? 
+always
+
+Additional Information: