istempmail php
1.0.0
ISTEMPMAIL API를 사용하여 일회용 이메일 주소를 확인하는 PHP 라이브러리
무료 API 토큰을 얻으려면 istempmail에 등록하고 API 토큰을 거기에 복사하십시오.
<?php
include('istempmail.php');
$isTempMail = new IsTempMail('YOUR_API_TOKEN');
try {
if($isTempMail->isDea('[email protected]')) {
echo 'Disposable email address detected.';
}
} catch (Exception $exception) {
echo $exception->getMessage();
}