Posted on: 9/13/2012 2:35:11 AM | Views : 252

hello there.
I have been following the below walkthrough on how to setup a confirmation email after a user signs up to my site.
http://www.4guysfromrolla.com/articles/062508-1.aspx
But on first time i test i get the following error.
The specified string is not in the form required for an e-mail address.
im not quite sure where i can specify the TO email dynamicaly.
i know i have my smtp setting correct in my web config.
see my vb code below.
Protected Sub CreateUserWizard1_SendingMail(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.MailMessageEventArgs) Handles CreateUserWizard1.SendingMail Dim userInfo As MembershipUser = Membership.GetUser(CreateUserWizard1.UserName) 'Construct the verification URL Dim verifyUrl As String = Request.Url.GetLeftPart(UriPartial.Authority) & Pa ...

Go to the complete details ...