Websites hosted on VPS Windows Server not able to send out emails
I recently bought a VPS windows hosting and moved our existing websites to this server. Ever since, none of our websites are able to send out emails. We are using .net and .net core libraries for email functionality.
We are receiving the following error:
Unable to send Email, System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10060): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. 126.96.36.199:587
Domain name in the email is also hosted with Godaddy. We have tried changing the ports (25,465) but it didn't work and as usual godaddy support can't seemingly understand the issue or provide any solution.
I would appreciate if anyone can point out in the right direction or if anyone has faced / solved this issue could guide us.