PHP Email verification Script

PHP Email verification Script



Email verification is a PHP class that can be easily used to verify an email address and make sure it is valid and does exist on the mail server.

In addition to checking the syntax, the actual existence of an email address using MX-Records and the Simple Mail Transfer Protocol (SMTP), and detecting whether or not the requested mailbox is configured to catch all incoming mail traffic, is disposable mail or role-based email.


  • Check email syntax
  • Check MX records
  • Check SMTP mailbox actual existence
  • Detect disposable mail
  • Detect role-based mail


  • PHP 5.x
  • PHP 7.x

Port for checking SMTP is opened, e.g: 25, 465, 587