Email(whitelist: Optional[List[str]] = None)
Validates an email address.
This rule uses validation from kvesteri/validators and also at the end I added addition regex from emailregex.com because the first validator can pass emails which ends with - (dash).
You can add whitelist
- domain names which will be treated as whitelist, by default is has one value - 'localhost'.
Categorization
- Internet
Changelog
Version | Description |
---|---|
1.0.0 | Created |
See also: