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"

时间:2024-04-06 12:12:03

相似题目