|
Posted by mouton on 03/29/07 08:23
Hello,
I tried the following code:
//check the email address exists
$sender_email = explode('@', $sender_email);
$emailhost = $sender_email[1];
if (!dns_get_mx($emailhost, $mxhostsarr))
{
echo 'Email address is not a valid host';
exit;
}
But it generates a fatal error on the hosting server, probably because
PHP is running under Windows and this function is not implemented in
Windows. I read I should use the PEAR::Net_DNS package but do not know
how to use it in my case. Could you please help me?
Thank you.
Cheers
Navigation:
[Reply to this message]
|