How to check if an email address exists or not using php
Nov 11, 2009 Php
We make lot of websites every month and 90% of them have a registration page or a contact us page where users have to fill their email id for get in touch with site owner.We hope that they will provide correct email address but what if user fill out a wrong email id that is not actually exists.In that case it will just fill one record in our database nothing else and if lot of users will do the same then it will make a burden on our database.
So before filling our database or executing a script we have to check if the email id provided by user is really exists or that is a bogus email address.
While there’s no foolproof way to make sure a user isn’t giving you a completely bogus email address, you can at least help cut down on the problem by making sure that email addresses your site is given at least correspond to a real domain.
Tags: DNS, domain, email address, email bounce, email bouncing, emailId, host array, hostname, ip address, valid email
