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
Enterprise-grade ITSM, for every business Icon
Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity.

Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
Try it Free
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