Jump to content

Active Email Recipient Validation


redonkulus

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.