Jump to content

Recommended Posts

I use phpmailer to send out emails and routinely get some that bounce back; fat finger, no longer exists, etc.  I was wondering if there is a way to use phpmailer to verify an email address is valid before I send a message to them?  This would not only validate the format, but also whether an email address is actually accepting delivery of a message.

Thank you so much.

 

Link to comment
https://forums.phpfreaks.com/topic/332337-phpmailer-verify-an-email-address/
Share on other sites

You can only verify the format and domain of an email address.  There isn't a way to verify if an email address actually exists and accepts mail other than sending it a message and seeing if it gets accepted. 

The reason is because of spam.  If it were possible to ask a mail server if an email exists (it used to be a long time ago I think) then spammers would use that to find and collect email addresses.

 

Edited by kicken

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.