I am trying to send a mail message to a gmail address. When I click submit after filling the "Answer" in the paswwordRecovery tool, after a few seconds, it is showing a error message "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 74.125.127.109:587"... Some please help... thank you.
A:
Have you add SMTP information in your web.config
?
<system.net>
<mailSettings>
<smtp deliveryMethod="Network" from="[email protected]">
<network defaultCredentials="true" host="localhost" port="25" userName="kaushal" password="testPassword"/>
</smtp>
</mailSettings>
</system.net>
Muhammad Akhtar
2010-09-29 06:52:26