Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 506 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 506 Bytes

EmailValidator

Email Validator Service in PHP. Can be used to validate if email exists on mail server. Just not validate only syntax but all email infrastructure.

Usage

Must be run like a service. Calling address like this http://domain.com/[email protected] next you can get result using an ajax call in jQuery:

$.ajax({
  url: "http://domain.com/validate.php",
  data: { q: "[email protected]"},
  dataType: "json"
}).done(function(data) {
   alert(data.is_valid);
});