Is there a way to auto-check that an email filled in on a PHP Form by the client is genuine? Sample: email@hidden is correct; email@hidden is not genuine, but passed anyway. (And comes back as the clients email.)
The only way to truly check an e-mail for “realness” is to send a message to that address, or at least a HELO request to that mail server. As you have found, an address may be correctly-formed, but go nowhere. You can do this on your server, but it takes time to time out if the address is invalid. If you’re trying to get someone on board quickly, you don’t want to do that.
There are some schools of thought that say you should just accept whatever a user gives you, and try to send a reply to it. If that bounces, you can delete the address from your database.
A lot of my apps use a confirmation step. If a user is signing up for something, I send a confirmation message to them and if they don’t click on it in a reasonable amount of time, I can either send them a reminder, or prune them. It depends a lot on what your goal is in gathering that address in the first place.
Walter
On Feb 4, 2014, at 12:26 PM, Lode Rosel wrote:
Hey,
Is there a way to auto-check that an email filled in on a PHP Form by the client is genuine? Sample: email@hidden is correct; email@hidden is not genuine, but passed anyway. (And comes back as the clients email.)