sending mail via System.Net.Mail.SmtpClient

B

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
 
E

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top