RFC-compliant email address validator


/ Published in: PHP
Save to your folder(s)

A PHP function that correctly validates all parts of a given email address, according to RFCs 5322, 5321, 1123, 2396, 3696, 4291, 4343, 2821 & 2822. I’ve released it under a license that allows you to use it royalty-free in commercial or non-commercial work.\r\n\r\nThe test cases and the latest version of the code will always be here: http://code.google.com/p/isemail/source/browse/#svn/trunk

URL: http://www.dominicsayers.com/isemail/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.