Demo
This demo allows you to see PHPMailCheck working in context. Simply enter an email address below and click 'submit' to validate it.Code example
This is how easy PHPMailCheck is to use....
‹?php
/* Include stuff */
include 'PHPMailCheck.php';
/* check the address */
$email=$_POST['email'];
$checker=new EmailChecker();
$valid=$checker->ValidateEmail($email,'mydomain.com');
echo '‹h2›';
if($valid) {
echo "You entered a valid address";
} else {
echo "You entered an invalid address";
}
echo '‹/h2›'."\n";
?›
/* Include stuff */
include 'PHPMailCheck.php';
/* check the address */
$email=$_POST['email'];
$checker=new EmailChecker();
$valid=$checker->ValidateEmail($email,'mydomain.com');
echo '‹h2›';
if($valid) {
echo "You entered a valid address";
} else {
echo "You entered an invalid address";
}
echo '‹/h2›'."\n";
?›
