c_shelswell Posted November 21, 2008 Share Posted November 21, 2008 Hi for some reason the below code keeps returning false not quite sure what i'm doing wrong. Any ideas would be great thanks. $mailDomain = 'hotmail'; if (checkdnsrr($mailDomain, "MX")) { return true; } else { return false; } unless there's a better way to test for badly typed domains. i.e. yaho rather than yahoo? Cheers Quote Link to comment Share on other sites More sharing options...
c_shelswell Posted November 21, 2008 Author Share Posted November 21, 2008 sorry just realised what i was doing should really put a .com at the end! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.