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
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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.