Hi,
i want to create users with the control CreateUserWizard, but by only entering the username. That's why i use the property RequireEmail="false" of CreateUserWizard. In the CreateUserWizard1_CreatedUser event, the emailaddress is then programmatically made by adding "@xxx.zz" to the username and put in the aspnet_membership table (with an update).
Now, when i use requiresUniqueEmail="true" in <membership> of web.config, i get the error: "please enter a valid emailaddress".
When i use requiresUniqueEmail="false", i can see that the emailaddress is correctly put into the table aspnet_membership, but the event CreateUserWizard1_SendingMail is never fired.
Thanks for help. Mich
Here the aspx code:
------------------
<asp:CreateUserWizard ID="CreateUserWizard1" RequireEmail="false"
AutoGeneratePassword="true" runat="server" >
Go to the complete details ...