[Mono-bugs] [Bug 71367][Nor] New - Mono not handling MailMessage.Fields.Add request correctly

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 17 Jan 2005 19:29:30 -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 sergio.vera@telefonica.net.


--- shadow/71367	2005-01-17 19:29:30.000000000 -0500
+++ shadow/71367.tmp.3264	2005-01-17 19:29:30.000000000 -0500
@@ -0,0 +1,66 @@
+Bug#: 71367
+Product: Mono: Class Libraries
+Version: unspecified
+OS Details: Windows XP PRO
+Status: NEW   
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: sergio.vera@telefonica.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Mono not handling MailMessage.Fields.Add request correctly
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+When Using System.Web.Mail Mailmessage and SmtpMail classes to send emails
+to a server requiring authentication, mono is unable to authenticate the
+user correctly against the server.
+Steps to reproduce the problem:
+1. //Fill basic email info:
+   MailMessage Mailer = new System.Web.Mail.MailMessage();
+   Mailer.From = "origin@someserver.com";
+   Mailer.To = "destination@someotherserver.com";
+   Mailer.Subject = "subject";
+   Mailer.Body = "body of the message";
+   Mailer.BodyFormat = MailFormat.Text; 
+2. // setup the mail so username and password are sended to the server    
+//basic authentication		
+//set your username here		
+//set your password here
+3. //Set the server and send the message
+    SmtpMail.SmtpServer = "smtp.someserver.com"
+    SmtpMail.Send(Mailer);
+Actual Results:
+The server responds to the Send command that the mail cannot be send
+because rely access is not allowed to unauthenticated clients.
+Expected Results:
+The server should accept the user/password authentification and send the
+mail. This code works ok with .NET framework.
+How often does this happen? 
+Additional Information:
+Mono For windows 1.0.5
+Windows XP Pro
+SharpDevelop 1.0.3