PHP Classes

Disposable Temporary Email Validator: Determine if an email address is temporary

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog (1)    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 60%Total: 509 All time: 5,769 This week: 140Up
Version License PHP version Categories
disposable-email 1.0MIT/X Consortium ...5Email, PHP 5, Validation


This class can determine if an email is a temporary disposable address.

It takes an email address and parse it to extract the email address domain.

The class looks up a list of hundreds of domains know to be of services of temporary disposable email addresses.

Innovation Award
PHP Programming Innovation award nominee
August 2015
Number 4

Prize: One book of choice by Packt
Disposable email addresses are addresses created for use just once or a few times.

There are sites that can create disposable email addresses for people that need to register to access certain sites but they do not want to provide their real email addresses.

This causes problems to those sites because they will not be able to contact the users that register when they need to communicate important information.

This class can detect if an email address is of one of many known domains used for disposable email addresses, thus helping sites to reject registrations of users that use those disposable addresses.

Manuel Lemos
Picture of Suresh Kumar
Name: Suresh Kumar <contact>
Classes: 2 packages by
Country: India India
Age: ???
All time rank: 2765166 in India India
Week rank: 354 Up23 in India India Up
Innovation award
Innovation award
Nominee: 1x



// Disposable Email Address Validator


$obj = new DisposableEmails();

$result = $obj->validate("");

"Alert !! Disposable Email!";

  Files folder image Files  
File Role Description
Plain text file DisposableEmail.class.php Class Class source
Accessible without login Plain text file example.php Example Example script

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,769
This week:140Up
 User Ratings  
 All time