RE: [PHP] email validation (no regex)

2005-09-21 Thread Michael Sims
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...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] email validation (no regex)

2005-09-21 Thread cron


As an admin I would assume this as spammers trying to get some emails and I 
would block this on the firewall.



- Original Message - 
From: Michael Sims [EMAIL PROTECTED]

To: php-general@lists.php.net
Sent: Wednesday, September 21, 2005 4:22 PM
Subject: RE: [PHP] email validation (no regex)



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...

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php