Skip to content

istempmail/istempmail-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IsTempMail PHP

PHP library to check disposable email address using IsTempMail API

How to use

To get a free API token, register at IsTempMail and copy your API token there.

<?php
include('istempmail.php');

$isTempMail = new IsTempMail('YOUR_API_TOKEN');

try {
    if($isTempMail->isDea('spammer@mailinator.com')) {
        echo 'Disposable email address detected.';
    }
} catch (Exception $exception) {
    echo $exception->getMessage();
}

About

PHP library to check disposable email address using IsTempMail API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages