A
Albert
Hi,
i want to send the recovered password using Maildefinition. But i don't find
any "password" to add to the control PasswordRecovery1 as body of the email.
It works but only the username is in the email, not the recovered password.
Any idea how to do that?
thanks
Albert
<asp
asswordRecovery ID="PasswordRecovery1" runat="server"
SubmitButtonText="send">
<MailDefinition IsBodyHtml="true" BodyFileName="pw2.txt"
From="(e-mail address removed)"
Subject="yor new password"/>
</asp
asswordRecovery>
Protected Sub PasswordRecovery1_SendingMail(ByVal sender As Object, ByVal e
As System.Web.UI.WebControls.MailMessageEventArgs) Handles
PasswordRecovery1.SendingMail
e.Message.Body = e.Message.Body.Replace("##user##",
PasswordRecovery1.UserName)
e.Message.Body = e.Message.Body.Replace("##password##",
PasswordRecovery1.????
End Sub
i want to send the recovered password using Maildefinition. But i don't find
any "password" to add to the control PasswordRecovery1 as body of the email.
It works but only the username is in the email, not the recovered password.
Any idea how to do that?
thanks
Albert
<asp
SubmitButtonText="send">
<MailDefinition IsBodyHtml="true" BodyFileName="pw2.txt"
From="(e-mail address removed)"
Subject="yor new password"/>
</asp
Protected Sub PasswordRecovery1_SendingMail(ByVal sender As Object, ByVal e
As System.Web.UI.WebControls.MailMessageEventArgs) Handles
PasswordRecovery1.SendingMail
e.Message.Body = e.Message.Body.Replace("##user##",
PasswordRecovery1.UserName)
e.Message.Body = e.Message.Body.Replace("##password##",
PasswordRecovery1.????
End Sub