Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > about PasswordRecovery

Reply
Thread Tools

about PasswordRecovery

 
 
Adam Right
Guest
Posts: n/a
 
      02-21-2008
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..



 
Reply With Quote
 
 
 
 
Paul Shapiro
Guest
Posts: n/a
 
      02-22-2008
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.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
<asp:PasswordRecovery -- remove security question David R. ASP .Net 5 05-07-2009 02:48 PM
Problem with PasswordRecovery Control Tomas Machala ASP .Net 0 02-24-2006 12:08 PM
PasswordRecovery paulmac106 ASP .Net 0 12-30-2005 09:57 PM
ASP.NET 2.0 PasswordRecovery control Amelyan ASP .Net 1 11-22-2005 12:57 AM
ASP.NET 2.0 question: Login and passwordrecovery with e-mail address Arjen ASP .Net 0 06-06-2005 06:09 PM



Advertisments