1. Ensure email verification is on
2. Register as a new user and enter a bogus value for the email address
3. You will receive the following exception:
FormatException: The specified string is not in the form required for an e-mail address.
\pages\register.ascx.cs
Code:Line 300: verifyEmail.SendEmail( new System.Net.Mail.MailAddress( email, user.UserName ), subject, true );
I think we should do simple, basic email address validation when registering, regardless of whether email verification is on or not. Otherwise, users will probably receive this same FormatException if they try to send an email to a user with an invalid address.
I'd fix this myself, but I don't have time at the moment.
