Showing results for 
Show  only  | Search instead for 
Did you mean: 
Go to solution

ASP Net SMTP Errors

After the original issues of figuring out I was using the wrong host and post (googling this leads you to alot of unanswered posts, logging in @ will get you the SMTP information you need)


Now that, that's all sorted out I get the following


[SmtpException: Syntax error, command unrecognized. The server response was: ]
   System.Net.Mail.ConnectAndHandshakeAsyncResult.End(IAsyncResult result) +1908259

 I'm not too sure what the issue is, this isnt the first time me setting up SMTP in .net applications, but sending from a godaddy email is the first time I've had this much trouble.


Where do I even begin to troubleshoot this?


Re: ASP Net SMTP Errors

So if I use port 25 instead of 465 it works fine. But I need to send these emails using SSL.


Any answers?


Re: ASP Net SMTP Errors

Turns out Snippet dosent support implicit SSL (port 465) only explicit (port 587), so I had to grab a nuget package to meet this requirement.



Community Manager
Community Manager

Re: ASP Net SMTP Errors

Thanks for coming back and sharing the information about how you solved your issue @ASPNetDeveloper! We appreciate it. Take care!