Hello,
<asp:CreateUserWizard> ...
<MailDefinition
BodyFileName="~/RegistrationMail.txt"
From="[email protected]"
Subject="new account">
</MailDefinition>
BodyFileName attribute references disk file containing mail's body text. If we put placeholders <% UserName %>
and <% Password %>
in the body text file ( RegistrationMail.txt ), then CreateUserWizard will automatically replace these placeholders with username and password of a created user.
A) If I wanted to create a control that would also be able to replace placeholders <% %>
in a file with some text, how would I do that?
B) Can I also write into these placeholders from code behind file? Meaning, is there some method which when called, writes specific text into placeholder contained inside some txt file?
thanx