Re: Favorite Email validation routine?
| From: | Justin French | Date: | Mon, 13 Jan 2003 05:38:32 +0000 |
| Subject: | Re: Favorite Email validation routine? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131392@lists.php.net to get a copy of this message | ||
I use, and love the simplicity of, validEmailFormat()... it's a
near-as-possible port of someone's Perl script which has become close to the
definitive script/function for Perl developers.
http://www.killersoft.com/downloads/pafiledb.php?action=category&id=1
Cheers,
Justin
on 13/01/03 4:21 PM, Peter Janett (phplist@newmediaone.com) wrote:
> I'm looking for everyone's favorite email syntax validation routine. Code
> that takes an email address and does regex on it to determine if it's
> formatted correctly.
>
> I know there are some on phpclasses.org that actually check the mx record
> and server of the domain, but I'm just looking for a good, clean and fast
> email address syntax check.
>
> So, what is your favorite bit of code to do that?
>
> Thanks,
>
> Peter Janett
>
>
>