|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
sending mail via System.Net.Mail.SmtpClientI am able to send an thru our mail server using the old 1.1
System.Web.Mail.SmtpMail class. When I try sending an email using the new System.Net.Mail.SmtpClient, I get a #5.5.1 unimplemented error: Command Not Implemented The code is nearly identical and the server is the same. Any ideas what is different ? Thanks Bill also, our mail server uses qMail.
Show quote "Bill H" <b***@hostunknown.com> wrote in message news:%23vI9Yj3pGHA.1548@TK2MSFTNGP04.phx.gbl... >I am able to send an thru our mail server using the old 1.1 >System.Web.Mail.SmtpMail class. > > When I try sending an email using the new System.Net.Mail.SmtpClient, I > get a #5.5.1 unimplemented error: Command Not Implemented > > The code is nearly identical and the server is the same. > > Any ideas what is different ? > > Thanks > Bill > Hello!
You wrote on Fri, 14 Jul 2006 15:25:49 -0400: ??>> Any ideas what is different ? It is possible (just a guess) that .NET switched from sending HELO to sending EHLO command and EHLO is not supported by your server. What you can do is connect using telnet to the server and send "EHLO blah-blah". And see whether the server supports it. With best regards, Eugene Mayevski http://www.SecureBlackbox.com - the comprehensive component suite for network security This is in fact the case. See the following MS KB article, which mentions a
HotFix that can be obtained from Microsoft: http://support.microsoft.com/?kbid=913616 -- Show quoteHTH, Kevin Spencer Microsoft MVP Professional Chicken Salad Alchemist What You Seek Is What You Get. "Eugene Mayevski" <mayev***@eldos.com> wrote in message news:OoTT5y3pGHA.516@TK2MSFTNGP05.phx.gbl... > Hello! > You wrote on Fri, 14 Jul 2006 15:25:49 -0400: > > ??>> Any ideas what is different ? > > It is possible (just a guess) that .NET switched from sending HELO to > sending EHLO command and EHLO is not supported by your server. > What you can do is connect using telnet to the server and send "EHLO > blah-blah". And see whether the server supports it. > > With best regards, > Eugene Mayevski > http://www.SecureBlackbox.com - the comprehensive component suite for > network security |
|||||||||||||||||||||||