Author: whisky | Posted on: 8/17/2008 1:32:33 AM | Views : 557

 Hi,

 I saw the following question and was wondering what would be the correct answer.

thanks

 

You create a Web Form that allows users to create a new account.

You add a CreateUserWizard control by using the following code segment.

You need to ensure that the wizard automatically sends an e-mail message to users when they finish creating their accounts.

You add a valid element to the Web.config file.

 Which code segment should you add to the Page_Load event?

A. Wizard1.RequireEmail = True

B. Wizard1.Email = user@address.com

C. Wizard1.MailDefinition.From = registration@mysite.com

D. SmtpMail.SmtpServer = "mail.contoso.com"
...

Go to the complete details ...