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

后端 未结 11 1580
北海茫月
北海茫月 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:29

    I had the same issue since I had multiple IP on my server (Virtual Servers) and my host was pointing to localhost while my SMTP Virtual Server was assigned to one particular IP:

     
           
     
    

    There are 2 solutions for this:

    1. Change your code and set host to the particular IP that is being used by SMTP Virtual Server instead of localhost.
    2. Change SMTP Virtual Server IP to All Unassigned

    To see/change SMTP Virtual Server IP: Right click on Default SMTP virtual server, select Properties, on General tab change/see IP address.

    Hope this saves someone's day with the same issue.

提交回复
热议问题