about PasswordRecovery

Discussion in 'ASP .Net' started by Adam Right, Feb 21, 2008.

  1. Adam Right

    Adam Right Guest

    is it possible to change defult text of mail body when using
    PasswordRecovery ?

    The default text is:
    -----------------------------------
    Please return to the site and log in using the following information.
    User Name: sarper
    Password: adnDAq[ELjRGwk
    ------------------------------------
    can i change it to :

    ---------------------------------------
    User Name: USER_NAME
    New password is : adnDAq[ELjRGwk
    Date:XXXXX

    for www.domain.com.

    ---------------------------------------


    If i change e.Message.Body with in PasswordRecovery's SendingMail event,
    the password is not seen in body of mail..

    Thanks..
    Adam Right, Feb 21, 2008
    #1
    1. Advertising

  2. Adam Right

    Paul Shapiro Guest

    In your MessageBody.txt file, use something like this:
    User name: <% UserName %>
    Password: <% Password %>
    The placeholders will be replaced with the values. Not sure about a
    substitute for the date.

    "Adam Right" <AdamRight> wrote in message
    news:...
    > is it possible to change defult text of mail body when using
    > PasswordRecovery ?
    >
    > The default text is:
    > -----------------------------------
    > Please return to the site and log in using the following information.
    > User Name: sarper
    > Password: adnDAq[ELjRGwk
    > ------------------------------------
    > can i change it to :
    >
    > ---------------------------------------
    > User Name: USER_NAME
    > New password is : adnDAq[ELjRGwk
    > Date:XXXXX
    > for www.domain.com.
    > ---------------------------------------
    >
    >
    > If i change e.Message.Body with in PasswordRecovery's SendingMail event,
    > the password is not seen in body of mail.
    Paul Shapiro, Feb 22, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Arjen
    Replies:
    0
    Views:
    578
    Arjen
    Jun 6, 2005
  2. Amelyan

    ASP.NET 2.0 PasswordRecovery control

    Amelyan, Nov 10, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    6,952
    kevin3344
    Nov 22, 2005
  3. paulmac106

    PasswordRecovery

    paulmac106, Dec 30, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    427
    paulmac106
    Dec 30, 2005
  4. David R.
    Replies:
    5
    Views:
    7,799
    Nitroboost
    May 7, 2009
  5. Tomas Machala

    Problem with PasswordRecovery Control

    Tomas Machala, Feb 24, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    404
    Tomas Machala
    Feb 24, 2006
Loading...

Share This Page