I am asp.net from a book in which I have to build a site with a signup.aspx page. I am using a CreateUserWizard. To send an email automatically when a new user is created, the book says to build a signupconfirmation.txt file in the app_data folder.
Hi <% UserName %>
Thank you for signing up for a new account at www.PlanetWrox.com
To log in to the site, use the following details:
User name: <% UserName %>
Your password: <% Password %>
We look forward to your contributions.
The Planet Wrox Team
It then says to add following maildefinition properties in the createuserwizard.
Body:~/App_Data/SignUpConfirmation.txt
Subject: Go to the complete details ...