Back to BlockTempMail

Examples

Code Examples

Php Example

<?php
// Include the class file
include 'Blocktempmail.php';
// Set your API token here.
$token = 'YOUR-API-TOKEN-HERE';
// Set the email address to check.
$email = 'test@example.com';
// Create a new instance of the Blocktempmail class.
$blocktempmail = new Blocktempmail($token);
// Call the check method with the email address.
$result = $blocktempmail->check($email);
// Print the API result.
print_r($result);