Password recovery

Discussion in 'ASP.NET 2.0' started by xdembele, May 1, 2007.

  1. Hello,

    with the password recovery control i have this message:

    my configurations is:
    in web.config




    <system.net>


    <mailSettings>


    <smtp from="[email protected]">


    <network host="localhost" port="25"


    userName="me@mydomain.com"


    password="mypassword"


    />


    </smtp>


    </mailSettings>


    </system.net>





    in the password recovery aspx page


    <asp:passwordRecovery ID="PasswordRecovery1" runat="server" >


    <MailDefinition BodyFileName="~/emails/pwd.txt"


    From=="[email protected]"


    IsBodyHtml="True"


    Subject="your password">


    </MailDefinition>




    Server Error in '/' Application.

    Post Edited By Moderator (mjp) : 5/3/2007 5:54:23 PM GMT
     
  2. Are you getting this error locally or on the DASP server?.There is no need for you to specify the username/password in your mail settings in the later case.

    Vikram

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. I'm getting it while everything is running on your servers (database and web servers)


    I have another problem; my site is no longer running.


    it is stalled. but it's running locally with the database on your servers.





    Please help.
     
  4. Could you provide your site's url and also how can I replicate the issue on my side?
    Also what does your code for sending the email look like?As I had mentioned before you dont need to specify the username/password in the mailsettings section in your web.config.

    Vikram

    DiscountASP.NET
    www.DiscountASP.NET
     

Share This Page