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! Link to comment https://forums.phpfreaks.com/topic/94093-active-email-recipient-validation/ 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 Link to comment https://forums.phpfreaks.com/topic/94093-active-email-recipient-validation/#findComment-482080 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.