PHP Email Address Validation

After about 4 hours of searching and reading RFC’s with blackened eyes I finally stumbled across a email validator that might actually work:

Sayers Validator

I have tested it against a bunch of stuff and it has about 99.9% accuracy rate which is pretty insane. Don’t even bother to try and understand is coding it is pretty long and tiring but you will notice it’s quite a bit bigger than most things you find on Google searching for these. This code implements every single RFC and is constantly updated with new amendments to keep its accuracy.

Give it a try you’ll find it will correctly validate almost every email address.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s