Index: modules/email_verify/email_verify.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/email_verify/email_verify.module,v
retrieving revision 1.5
diff -u -r1.5 email_verify.module
--- modules/email_verify/email_verify.module	10 Jan 2007 21:23:11 -0000	1.5
+++ modules/email_verify/email_verify.module	14 Feb 2007 21:21:03 -0000
@@ -57,13 +57,13 @@
   $host = substr(strchr($mail, '@'), 1);
 
   // Let's see if we can find anything about this host in the DNS
-  if (!checkdnsrr($host, 'ANY')) {
+  if (function_exists(checkdnsrr) && !checkdnsrr($host, 'ANY')) {
     return t('Email host %host does not seem valid', array('%host' => "$host"));
   }
 
   // What SMTP servers should we contact?
   $mxHosts = array();
-  if (! getmxrr($host, $mxHosts)) {
+  if (function_exists(getmxrr) && !getmxrr($host, $mxHosts)) {
     // When there is no MX record, the host itself should be used
     $mxHosts[] = $host;
   }
