tcorbeil Posted April 6, 2007 Share Posted April 6, 2007 if (preg_match("/^[a-zA-Z_]+(\w+)*((-\w+)|(\.\w+))*\@\w+((\.|-)\w+)*\.\w+$/i",$Email)){ $messages['ValidEmail'] = "* Your email address is valid, Your Registered! ";} else { $flag = "1"; $messages['InvalidEmail'] = "* Your email address is not valid, please re-enter your email address."; I tought the above would work but apparently it only checks the an email address has all its attributes (******@***.***) it doesn't go check to see if the email is in existence.. what do i need to do to check the email existence? Thanks. T. Link to comment https://forums.phpfreaks.com/topic/45943-verifying-the-existence-of-an-email-address/ Share on other sites More sharing options...
per1os Posted April 6, 2007 Share Posted April 6, 2007 http://us3.php.net/manual/en/function.checkdnsrr.php Either that or you need to setup a script that checks for a bounced email address. I would google that. Link to comment https://forums.phpfreaks.com/topic/45943-verifying-the-existence-of-an-email-address/#findComment-223166 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.