[Mono-dev] Possible bug in sendign mail with authentication

APS dev.malst at apsystems.it
Mon Jul 9 06:40:11 EDT 2007


Hi,

I was working on sending mail with authentication and debugging an 
authentication problem I noticed that in 
System.Web.Mail.SmtpClient.StartSend there's a couple of lines with 
this statement:

username != null && password != null && authenticate != 1

Checking M$ documentation 
http://msdn2.microsoft.com/en-us/library/ms526961.aspx I saw that 
value 1 is cdoBasic so it should be taken as a valid value for making 
authentication (2 is NTLM auth, not so common on linux).
I've changed the value I used in my program and it worked.
It's a desired difference or a coding mistake?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070709/33e655b8/attachment.html 


More information about the Mono-devel-list mailing list