don't worry about the CreateRequest call or method

vb Code:
  1. Private Sub SendAdminEmail()
  2.         Dim config As System.Configuration.Configuration = _
  3.             WebConfigurationManager.OpenWebConfiguration( _
  4.                 HttpContext.Current.Request.ApplicationPath)
  5.         Dim settings As System.Net.Configuration.MailSettingsSectionGroup = _
  6.             CType(config.GetSectionGroup("system.net/mailSettings"), _
  7.             MailSettingsSectionGroup)
  8.  
  9.         'Obtain the Network Credentials from the mailSettings section
  10.         Dim credential As New NetworkCredential( _
  11.             settings.Smtp.Network.UserName, settings.Smtp.Network.Password)
  12.  
  13.         'Create the SMTP Client
  14.         Dim client As New SmtpClient()
  15.         client.Host = settings.Smtp.Network.Host
  16.         client.Credentials = credential
  17.  
  18.         'Build Email Message
  19.         Dim email As New MailMessage
  20.  
  21.         email.From = New MailAddress(ConfigurationManager.AppSettings("FakeEmail"))
  22.         For Each address As String In ConfigurationManager.AppSettings("SendToAdmin").Split(New Char() {";"}, StringSplitOptions.RemoveEmptyEntries)
  23.             email.To.Add(address)
  24.         Next
  25.         'email.To.Add(ConfigurationManager.AppSettings("SendToAdmin"))
  26.         email.Subject = "New WLR User Account Request"
  27.         email.IsBodyHtml = True
  28.         email.Body = "<strong>A new user has signed up for access to the WLR</strong>"
  29.         email.Body += "<br><br><strong>The following information is viewable once you login.</strong><br><br>"
  30.         email.Body += "<br><br><strong>Name:</strong> " + Me.lblVerifyName.Text
  31.         email.Body += "<br><strong>Address 1:</strong> " + Me.lblVerifyAdd1.Text
  32.         email.Body += "<br><strong>Address 2:</strong> " + Me.lblVerifyAdd2.Text
  33.         email.Body += "<br><strong>City:</strong> " + Me.lblVerifyCity.Text
  34.         email.Body += "<br><strong>State:</strong> " + Me.lblVerifyState.Text
  35.         email.Body += "<br><strong>Zipcode:</strong> " + Me.lblVerifyZip.Text
  36.         email.Body += "<br><strong>Phone:</strong> " + Me.lblVerifyPhone.Text
  37.         email.Body += "<br><strong>Email:</strong> " + Me.lblVerifyEmail.Text
  38.         email.Body += "<br><strong>Company:</strong> " + Me.lblVerifyCompany.Text
  39.  
  40.         'Send Email
  41.         client.Send(email)
  42.     End Sub
  43.  
  44.     Private Sub CreateRequest()
  45.         Dim mr As New WlrHelper.MembershipRequest
  46.  
  47.         mr.Name = txtName.Text.Trim
  48.         mr.Address1 = txtAdd1.Text.Trim
  49.         mr.Address2 = txtAdd2.Text.Trim
  50.         mr.City = txtCity.Text.Trim
  51.         mr.State = txtState.Text.Trim
  52.         mr.Zip = txtZip1.Text.Trim + IIf(Not String.IsNullOrEmpty(txtZip2.Text.Trim), txtZip2.Text.Trim, "")
  53.         mr.Phone = txtPhoneAreaCode.Text.Trim + txtPhonePrefix.Text.Trim + txtPhonePostfix.Text.Trim
  54.         mr.Email = txtEmail.Text.Trim
  55.         mr.Company = txtCompany.Text.Trim
  56.         WlrHelper.Logger.AddMembershipRequest(mr)
  57.     End Sub
  58.  
  59.     Protected Sub wizRegister_FinishButtonClick(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.WizardNavigationEventArgs) Handles wizRegister.FinishButtonClick
  60.         If Me.CaptchaControl1.UserValidated Then
  61.             Try
  62.                 SendAdminEmail()
  63.                 CreateRequest()
  64.                 Me.wizRegister.Visible = False
  65.                 Me.litFinished.Text = "A request has been submitted for the system administrator(s) to review for account activation!  A system administrator my contact you by phone or email with you account information.  <br /><br />Upon your first sign in you will be required to change your password." '"An email has been sent to the system administrator requesting account activation.  The system administrator my contact you by phone or email with you account information.  <br /><br />Upon your first sign in you will be required to change your password."
  66.                 Me.litFinished.Visible = True
  67.             Catch ex As Exception
  68.                 Me.wizRegister.Visible = False
  69.                 Me.pnlFinished.Font.Size = FontUnit.Point(10)
  70.                 Me.pnlFinished.ForeColor = Drawing.Color.Red
  71.                 Me.litFinished.Text = ex.ToString '"An error occured while trying to create a request for the system administrator(s) to review!  Please try again." '"An error occured while trying to send information to the accout administrator!  Please try again."
  72.                 Me.litFinished.Visible = True
  73.             End Try
  74.         End If
  75.     End Sub