redonkulus Posted March 2, 2008 Share Posted March 2, 2008 Hello, Is there any way to test whether a users email address is active and valid? I'm asking for a validation script for email addresses, I already have that. And I already know that I can send an email to the user to ask them to respond, thus validating it. But the problem is that I have a newsletter that goes out every week but I always get over a thousand mail failure emails because the once active email addresses are no longer working. Is there any way in PHP to check if email addresses are active? Any help is great. Thanks! Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted March 3, 2008 Share Posted March 3, 2008 You can open a socket to a mail server and send it a recipient address and check the response. If you get a failure message, you would know that the address does not exist. Getting a success message does not necessarily mean that the address exists, it just means that the mail server does not object to that mail box name. Search for "php check email actually exists" in your favorite search engine. Here is one such script found by searching (untested, so your results might vary) -http://www.weberdev.com/get_example.php3?ExampleID=536 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.