A library for validating emails against several RFC. This library aims to support RFCs 5321, 5322, 6530, 6531, 6532, and 1035. Composer is required for installation. Spoofchecking and DNSCheckValidation validation requires that your PHP system has the PHP Internationalization Libraries (also known as PHP Intl). PHP version upgrades will happen to accomodate to the pace of major frameworks. Minor versions bumps will go via minor versions of this library (i.e: PHP7.3 -> v3.x+1). Major versions will go with major versions of the library. EmailValidatorrequires you to decide which (or combination of them) validation/s strategy/ies you'd like to follow for each validation. Note that warnings are deviations from the RFC that in a broader interpretation are acceptded. It's easy to extend! You just need to implement EmailValidation and you can use your own validation.

Features

  • RFCValidation, standard RFC-like email validation
  • NoRFCWarningsValidation, RFC-like validation that will fail when warnings are found
  • DNSCheckValidation, will check if there are DNS records that signal that the server accepts emails. This does not entails that the email exists
  • MultipleValidationWithAnd, a validation that operates over other validations performing a logical and (&&) over the result of each validation
  • MessageIDValidation, which follows RFC2822 for message-id to validate that field, that has some differences in the domain part
  • Your own validation, as you can extend the library behaviour by implementing your own validations

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow EmailValidator

EmailValidator Web Site

Other Useful Business Software
$300 in Free Credit for Your Google Cloud Projects Icon
$300 in Free Credit for Your Google Cloud Projects

Build, test, and explore on Google Cloud with $300 in free credit. No hidden charges. No surprise bills.

Launch your next project with $300 in free Google Cloud credit—no hidden charges. Test, build, and deploy without risk. Use your credit across the Google Cloud platform to find what works best for your needs. After your credits are used, continue building with free monthly usage products. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of EmailValidator!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Email Spam Filter Software, PHP Email Software

Registered

2021-06-08