Last updated:
0 purchases
email sanity
Email Sanity #
A robust Flutter package designed to provide enhanced email validation with additional layers of accuracy and reliability. Building on the foundation of the popular email_validator package, EmailSanity introduces extra "magic" to ensure that the emails you process are not just syntactically correct, but also contextually appropriate and ready for real-world use.
It validates the email syntax and checks as well as the domains to ensure the email provided is accurate.
Email Providers Being Checked:
Google
Yahoo
Microsoft
Apple
Yandex
Fastmail
Installation #
1. Add Package #
Add this to your package's pubspec.yaml file:
dependencies:
email_sanity: '^0.0.1'
copied to clipboard
2. Run Pub Get
$ pub get
..
copied to clipboard
3. Import Email Sanity
import 'package:email_sanity/email_sanity.dart';
copied to clipboard
Usage #
void main() {
var email = "[email protected]";
assert(EmailSanity.validate(email));
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.