[Mono-bugs] [Bug 80584][Nor] Changed - [2.0] SmtpClient always uses authentication

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu May 3 01:26:06 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 paul at form1.co.nz.

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

--- shadow/80584	2007-02-17 17:10:48.000000000 -0500
+++ shadow/80584.tmp.32353	2007-05-03 01:26:06.000000000 -0400
@@ -40,6 +40,11 @@
   {
     SmtpClient smtp = new SmtpClient ("<smtp host>");
     smtp.Send ("no-reply at somewhere.com", "<recipient>",
 			"SUBJECT", "OK");
   }
 }
+
+------- Additional Comments From paul at form1.co.nz  2007-05-03 01:26 -------
+A workaround for this is to explicitly set the "Credentials" property
+to null on the SmtpClient object.
+This avoids the client trying to authenticate before sending.


More information about the mono-bugs mailing list