Skip to content

istempmail/istempmail-php

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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

No packages published

Languages