开发者

sendmail function shows:Syntax error, command unrecognized. The server response was:

While sending mail from particular id I get this error, for rest of all id's its working fine, What was the problem over here..

Syntax error, command unrecognized. The server response was: 
status code :0 

stack trace:

   at System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.End(IAsyncResult result)
   at System.Net.Mail.SmtpClient.ConnectCallback(IAsyncResult result)

Brief:

 System.Net.Mail.开发者_开发知识库SmtpException: Syntax error, command unrecognized. The server response was: 
   at System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.End(IAsyncResult result)
   at System.Net.Mail.SmtpClient.ConnectCallback(IAsyncResult result)

Please help me out..


This error message states "Command unrecognized"

This means "something" was not formatted correctly.

The stack trace shows where the error occurred.

The final step was ConnectAndHandshakeAsyncResult

This is happening at the server level.

The message passed to the mail server is messed up.


The SMTP server does not allow your computer to send emails.

You need to white list you computer in the SMTP server for sending emails

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜