Hello Friends

I'm using PasswordRecovery control, and in the web.config file I set the enablePasswordRetrieval = "false".

Now I can not retrieve the password to send it to the email user.

In web.config I set the settings as:

<mailSettings>
<SMTP from="svs991234@yahoo.com.br">
<network host="smtp.mail.yahoo.com.br" password="svs991234 " userName="ventana"/>
</ smtp>
</ mailSettings

Thanks and a hug

shouldnt this enablePasswordRetrieval be set to true?

I have to agree, your problem seems obvious. You've turned it off by setting it to false.

commented: i appreciate that you agree with me :) +9

Thanks a lot for your help guys.

enablePasswordRetrieval = "True" now and it´s not working yet.

<network host="mysmtp" 
                 password="password"
                 userName="username@dtvision.com.br"
                 defaultCredentials="true"/>       
</smtp>
<membership defaultProvider="SqlMembershipProvider" userIsOnlineTimeWindow="60">
   <providers>
				<clear/>
				<add name="SqlMembershipProvider" 
             type="System.Web.Security.SqlMembershipProvider"
             connectionStringName="timesheet"
             applicationName="timesheet" 
             enablePasswordRetrieval="true" 
             enablePasswordReset="true" 
             requiresQuestionAndAnswer="false"
             requiresUniqueEmail="true" 
             passwordFormat="Clear"
             maxInvalidPasswordAttempts="3"
             minRequiredNonalphanumericCharacters="0"
             minRequiredPasswordLength="6"/>
       </providers>
</membership>

What can I do now?


Thanks for your help

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.