PHP code example of mjk-limon / temporary-email-checker
1. Go to this page and download the library: Download mjk-limon/temporary-email-checker library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mjk-limon / temporary-email-checker example snippets
$userCheckApiKey = 'your-usercheck-api-key-here';
$userCheckApiKey = 'prd_YourApiKeyHere';
try {
$isValid = checkEmailDomain($email);
} catch (Exception $e) {
echo "Error: " . $e->getMessage();
}
bash
php configure.php
bash
# Command line
php configure.php verify
bash
php configure.php
bash
php configure.php
bash
chmod 644 index.php configure.php README.md
chmod 755 data .cache
chmod 644 data/*.list .cache/*.list