Reputation: 2428
I have developed an application with .Net platform. My question is: when I attempt to send an activation password to my customer, I got the following the error.
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 xxx.xxx.xxx.xxx:25
Here is my code:
<system.net>
<mailSettings>
<smtp from="[email protected]">
<network host="smtp.server.com" password="xxx" userName="JohnSmith" />
</smtp>
</mailSettings>
</system.net>
Upvotes: 0
Views: 93
Reputation: 10452
Are you sure that smtp is active and running on that IP? I'm not able to telnet into it on port 25
Upvotes: 1