Via web browser: Open your favorite browser and enter the path to index. This email needs to be valid and from the same server that the script is running from.Ģ. v, -verifier-email: is an email address to be provided to the server. e, -email: is the email that you want to check Or php cli.php -email -verifier-email -port C ommand line: just simple open a terminal and type: php cli.php -e -v -p There are two examples of this script that you can run:ġ. If you want to get all debug messages while checking email, call this function: $ev->getDebugInfo() which will return an array: array (Ġ => 'Initialized with values: email =, verifier email =, port = 25',ġ => 'Email was set to ',Ģ => 'Verifier email was set to ', disposable: this field indicate that email is using disposable email service or not.role: this field indicate that email is role-based or not.catch_all: this field indicate that email server of checking email has setup catch all or not.smtp_check: this field indicate that email actual exist or not.mx_found: this field indicate that email has MX records or not.format_valid: this field indicate that email has valid syntax or not.email: this field contain the value of checking email.Then you call the verify function: $ev->verify() You can also modify/set the values of email to verify, verifier email, and port number on the fly after initializing: $ev->setEmail('') Or you can specify other port number to check than 25: $ev = new EmailVerification(‘ ', ', 465) Initialize the class: $ev = new EmailVerification(‘ ', ') That's all, now you are ready to use that class! Bulk email list verification an indispensable tool for companies sending mass emails determines whether or not a list of email addresses is fully valid. cli.php: A simple file allow you verify email in command line directly.Īdd this class to your file: require_once './inc/'.Access to Cron Job Clean server with no other scripts or domains running beside this email scan script. index.php: A simple form with Bootstrap style for verifing email exist or not. Root access to modify apache and php timeout.i nc: Contains the common files, where all the logic live here.When you open up my script folder, you’ll see the following files and directories:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |