Login   Register  
PHP Classes

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Konstantin Granin  >  Verify e-mail  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Sample file
Class: Verify e-mail
Check if an e-mail is valid using SMTP
Author: By
Last change:
Date: 3 years ago
Size: 720 bytes


Class file image Download
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
include_once 'class.verifyEmail.php';

$email 'noreplybbbbbbb@gmail.com';

$vmail = new verifyEmail();

        if (
$vmail->check($email)) {
'email &lt;' $email '&gt; exist!';
        } elseif (
$vmail->isValid($email)) {
'email &lt;' $email '&gt; valid, but not exist!';
        } else {
'email &lt;' $email '&gt; not valid and not exist!';