Validating email addresses exist. (Part 1)

2016-01-23 23:07 Email, SMTP, Data Validation, PHP

Validation that data typed into a webpage is formatted as an email address is certainly a great start, but shouldn't be the only validation on an email address before you save it into your database. I think we can do one better than a simple or complex Regular Expression (regex). Some people might say "Just make a validation email part of the signup process." And, that isn't a bad idea at all, I just want something a little more interactive or immediate and to not even accept the data into my database unless it has been validated. There are a couple of ways that we might go about this, while I will mention a few ideas; I will only explore one in detail and with code.

Read More