Skip to content

Centillien/check_email

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Check_email

Class to check the existence of an email address with SMTP

Usage is simple, check the test.php

The function check_email($email) will simulate sending an email using SMTP, but will not actually send one.

It's usage is to validate existence to avoid mistyping and spammers, who are known for using non existing email addresses.

I have setup an API service based on this. You need to obtain an API key, request one using https://www.centillien.com/contact/

XML https://www.centillien.com/services/api/rest/xml/?method=validate_email&email=$email&api_key=$api_key

or JSON https://www.centillien.com/services/api/rest/json/?method=validate_email&email=$email&api_key=$api_key

$email is the actual email to check.

It returns a boolean true if valid or an error if invalid.

You can use it as a free service and incorporate in your website if you want. Do not misuse it.

Reporting issues and PR's are welcome.

About

Class to check the existence of an email address with SMTP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages