[Mono-bugs] [Bug 81288][Wis] New - SmtpClient uses AUTH LOGIN even when unavailable

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Apr 2 00:55:42 EDT 2007


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 t7 at pobox.com.

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

--- shadow/81288	2007-04-02 00:55:42.000000000 -0400
+++ shadow/81288.tmp.29216	2007-04-02 00:55:42.000000000 -0400
@@ -0,0 +1,54 @@
+Bug#: 81288
+Product: Mono: Class Libraries
+Version: 1.2
+OS: GNU/Linux [Other]
+OS Details: Fedora Core 4
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: System
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: t7 at pobox.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: SmtpClient uses AUTH LOGIN even when unavailable
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. Run the snippet below and connect to an SMTP server that doesn't
+   allow AUTH LOGIN
+2. Result is SMTP status code 504 with the exception below
+3. 
+
+Actual Results:
+Exception thrown-
+   System.Net.Mail.SmtpException: 504 5.3.3 AUTH mechanism LOGIN not available
+  at System.Net.Mail.SmtpClient.Authenticate (System.String Username,
+System.String Password) [0x000a4] in
+/tmp/scratch/BUILD/mono-1.2.3.1/mcs/class/System/System.Net.Mail/SmtpClient.cs:678
+  at System.Net.Mail.SmtpClient.PerformAuthentication () [0x00074] in
+/tmp/scratch/BUILD/mono-1.2.3.1/mcs/class/System/System.Net.Mail/SmtpClient.cs:657
+  at System.Net.Mail.SmtpClient.Send (System.Net.Mail.MailMessage message)
+[0x000c5] in
+/tmp/scratch/BUILD/mono-1.2.3.1/mcs/class/System/System.Net.Mail/SmtpClient.cs:302
+
+
+Expected Results:
+
+Should be able to successfully login as it did in 1.1.18 (presumably
+choosing an AUTH method offered)
+
+
+How often does this happen? 
+Every time
+
+Additional Information:
+Didn't try versions in-between, but OS/Sendmail[8.13.7] versions didn't
+change.  Only change was upgrade from Mono 1.1.18 to Mono 1.2.3


More information about the mono-bugs mailing list