Author: tlocke | Posted on: 9/29/2010 4:42:30 PM | Views : 552

I have a web application that allows a user to "join" our site.  When the CreateUserWizard completes, I just have the code below in the bottom of my wizard tags; and this works!
<MailDefinition BodyFileName="~/EmailTemplates/NewRegistrationUser.txt" Subject="Arts & Crafts Website - New Registration" > </MailDefinition>

I need to now add a second email that'll tell site admins that this particular user has requested access.  So the user gets an email saying "Thanks for registering... account is pending authorization"!  At the same time I need a second email to be sent to the site admins (just one email address) stating something like "A new user <%username%> has requested to join your site".  This is what I tried, but doesn't work:
<MailDefinition BodyFileName="~/EmailTemplates/NewR ...

Go to the complete details ...