stevepatd Posted November 10, 2025 Share Posted November 10, 2025 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. Quote Link to comment https://forums.phpfreaks.com/topic/332337-phpmailer-verify-an-email-address/ Share on other sites More sharing options...
kicken Posted November 10, 2025 Share Posted November 10, 2025 (edited) 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 November 10, 2025 by kicken Quote Link to comment https://forums.phpfreaks.com/topic/332337-phpmailer-verify-an-email-address/#findComment-1661784 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.