Hi.
I'm sure this question has been asked before - but I've been scouring the Web all afternoon trying to find the solution to this, but to no avail so far. So I thought I would ask here....
I'm adding a dew bits and pieces to the Personal Web Site Starter Kit I have been playing around with - I don't come from a development background, so have found it useful in learning the basics involved with using Controls.
The environment: SQL Express, VS Web Developer, AJAX 1.0, .NET 2.0.
I have a page for registration, and by default the user that is created when someone 'signs up' to the site is left in an inactive state and relies on a site administrator to enable that user - no problem there, and I don't really want to change that at all - but I would like to do is to get the wizard to email me when a new user signs up so that I know to either (a) enable the user, or (b) leave it as is.
The solutions surrounding the topic of new user creation and emails have been that of sending the user an email once his/her sign up is complete; not really what I'm trying to achieve - I'm trying to make life a little easier through being notified via an email once a user signs up.
Is there a simple solution to this?
The wizard control code:
1 <asp:CreateUserWizard ID="CreateUserWizard1" Runat="server"
2 ContinueDestinationPageUrl="default.aspx"
3 DisableCreatedUser="True"
4 EmailRegularExpression="\S+@\S+\.\S+"
5 EmailRegularExpressionErrorMessage="Please enter a valid email address."
6 ActiveStepIndex="1"
7 ContinueButtonText="Continue">
8 <WizardSteps>
9 <asp:CreateUserWizardStep runat="server">
10 </asp:CreateUserWizardStep>
11 <asp:CompleteWizardStep runat="server">
12 </asp:CompleteWizardStep>
13 </WizardSteps>
14 </asp:CreateUserWizard>
Thanks in advance,
David
David Clothier
If this answers to your question, please mark it solved/answered.