I am trying to send an email from tha passwordrecovery control using an email address from the web.config without any success.
Everything compiles OK, the mail username/password are correct and it works until I get to the Submit after answering the question.
Then I get an 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 "
Below is the code I am using. Can anyone tell me what I am doing wrong ?
Type your cut contents here.
nathan@example.net" Subject="Password">
Your password has been sent to you. |
In the web.config
nathan@example.net">
password="xxxxx"
userName="nathan+example.net"
defaultCredentials="true"
port="110"/>
decryptionKey="xxxxx"
validation="SHA1"
decryption="AES"/>
name="CustomizedMembershipProvider"
type="System.Web.Security.SqlMembershipProvider"
enablePasswordRetrieval="true"
enablePasswordReset="false"
requiresQuestionAndAnswer="true"
requiresUniqueEmail="true"
passwordFormat="Encrypted"
maxInvalidPasswordAttempts="5"
passwordAttemptWindow="30"
passwordStrengthRegularExpression=""
minRequiredPasswordLength="7"
minRequiredNonalphanumericCharacters="0"/>