re: There's only one way to validate an email address VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I agree that you shouldn't use a regex, but PHP in particular has the filter_var() function, which is a far better option. There are a few edge cas...
 

However, sending an activation email is probably prudent in most cases since just because an email address is valid doesn't mean it actually exists.

Or is owned by the person submitting the address… :p

 
code of conduct - report abuse