Email validate via SMTP

January 9, 2015

PHP Email Validator

Author: Dmitry M. Merkushin

This class can check if a email address is valid with the SMTP MX server.

It takes a given email address and queries the DNS server for the list of
MX server addresses.

The class can connect to the first MX SMTP server or to the domain address
in case the MX record does not exist).

It sends SMTP commands to emulate an attempt to deliver a message from a
given email address to the address to be tested.

The class determines that the address may be valid if the sent commands are
accepted by the SMTP server.


Support forum:

Leave a Reply

Your email address will not be published. Required fields are marked *