pendragon
Junior Contributor
Hi All
Am trying to send email from a program written in c# VS2005, using the following code.
When it tries to send I get the following error
System.Net.Mail.SmtpException was unhandled
Message="Command not implemented. The server response was: Sorry no ESMTP"
Anyone know what this means please?
Thank You
Am trying to send email from a program written in c# VS2005, using the following code.
Code:
SmtpClient mailClient = new SmtpClient(SMTPServer);
mailClient.UseDefaultCredentials = true;
MailAddress from = new MailAddress(emailFrom);
MailAddress to = new MailAddress(emailTo);
MailMessage message = new MailMessage(from, to);
message.Subject = emailSubject;
message.Body = emailBody;
mailClient.Send(message);
When it tries to send I get the following error
System.Net.Mail.SmtpException was unhandled
Message="Command not implemented. The server response was: Sorry no ESMTP"
Anyone know what this means please?
Thank You