email validation
Posted: Sat Aug 11, 2007 7:47 pm
I found this nice documentation on the Zend site [ http://www.zend.com/zend/spotlight/ev12apr.php ], but if you scroll a little more than halfway down [step three] there is this code:
Where does $MXHost come from?
Code: Select all
list ( $Username, $Domain ) = split ("@",$Email);
if (getmxrr($Domain, $MXHost)) {
$ConnectAddress = $MXHost[0];
} else {
$ConnectAddress = $Domain;
}