RE: [PHP] email validation (no regex)
| From: | Michael Sims | Date: | Wed, 21 Sep 2005 19:22:25 +0000 |
| Subject: | RE: [PHP] email validation (no regex) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-222912@lists.php.net to get a copy of this message | ||
Jim Moseby wrote:
>> There's no requirement for an MX-record, so you'd need to check the
>> A-record ($domain) too.
>
> Excellent answer. No requirement for MX record?
>
> [showing my ignorance]
> How does email routing happen if there is no mail exchanger in the
> zonefile for a particular domain?
> [/ignorance]
Most all mail transfer agents will fall back to looking for an A record if an MX
record doesn't exist. It's good practice to define an MX record but it isn't
required...