Home All Groups Group Topic Archive Search About

sending mail via System.Net.Mail.SmtpClient

Author
14 Jul 2006 7:08 PM
Bill H
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

Author
14 Jul 2006 7:25 PM
Bill H
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
>
Author
14 Jul 2006 7:35 PM
Eugene Mayevski
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
Author
15 Jul 2006 11:25 AM
Kevin Spencer
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

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Chicken Salad Alchemist

What You Seek Is What You Get.


Show quote
"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

AddThis Social Bookmark Button