Troubleshooting “Mailbox unavailable. The server response was: Access denied - Invalid HELO name” when sending email with SmtpClient

后端 未结 6 1589
南旧
南旧 2021-01-11 18:24

I have been trying to send an email by C#. I have Googled for various examples and have taken bits and pieces from each and from the standard code which everyone would most

6条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-11 18:29

    In my case, it was a wrong port. The configuration provided by the hosting didn't worked both SSL (465) and no SSL (25). I used MS Outlook to "crack" the configuration, and then copied to my application. It was 587 SSL.

提交回复
热议问题