“Unable to read data from the transport connection: net_io_connectionclosed.” - Windows Vista Business and SMTP

后端 未结 11 1558
北海茫月
北海茫月 2021-02-06 21:37

Unable to test sending email from .NET code in Windows Vista Business.

I am writing code which I will migrate to an SSIS Package once it its proven. The code is to send

11条回答
  •  情深已故
    2021-02-06 22:16

    I am facing this issue last 6hr and I am new on that so I am trying to solve this issue in following way

    1) I opened command prompt (e.g. Ctrl + R type cmd and enter).
    2) And check to SMTP server ping and check response.
    3) If it’s gets response then it’s ok and to move next step 4 other wise smtp name is wrong.
    4) Then I check by telnet smtp port (e.g. 25 ) is open or not.
    5) Using this cmd we check the SMTP response.
    6) telnet "yoursmtpname" "portno” (e.g. telnet smtp.gmail.com 25)
    7) If telnet is not working, please install or add from control panel in add new features.
    8) If it’s working then it’s pass result like.
    9) 220 mx.google.com ESMTP .

    Using above steps we can find out smtp connection is ready or not to sending mail.

提交回复
热议问题