If you are not able to send mail through PHP or ASP.NET script then you can try to resolve the issue by checking the SMTP logs in IIS. You can check below steps to check logs.
How to enable SMTP Logs?
Login to your Windows VPS server.
Navigate to Start >> Administrative tools.
Now you have to...