PHP Classes

File: examples/getDisposableEmailList.php

Recommend this page to a friend!
  Classes of John Conde   PHP Email Validation Library Pro   examples/getDisposableEmailList.php   Download  
File: examples/getDisposableEmailList.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Email Validation Library Pro
Validate email addresses using multiple rules
Author: By
Last change: Update of examples/getDisposableEmailList.php
Date: 1 year ago
Size: 282 bytes
 

Contents

Class file image Download
<?php

use EmailValidator\Policy;
use
EmailValidator\Validator\DisposableEmailValidator;

require(
'../vendor/autoload.php');

$disposableEmailList = (new DisposableEmailValidator(new Policy()))->getList();

// Store this list somewhere for later use
var_dump($disposableEmailList);