I guess, we already shared our views on the same.
It can be because of various reasons. You need to look at them one by one.
Is the port open? Firewall permissions in place?
Further make sure you have configured SMTP configuration in Web.Config:
<system.net>
<mailSettings>
<smtp from="abc@somedomain.com">
<network host="somesmtpserver" port="587" userName="name" password="pass" defaultCredentials="true" />
</smtp>
</mailSettings>
</system.net>
You need to troubleshoot and check what is the reason n your case.