mirror of
https://github.com/valitydev/email_validator.git
synced 2024-11-06 00:45:19 +00:00
Email validator for Erlang
.github/workflows | ||
src | ||
test | ||
.gitignore | ||
elvis.config | ||
LICENSE | ||
README.md | ||
rebar.config | ||
rebar.lock |
Email validator for Erlang
Library for email address validation based on RFC5321 (Simple Mail Transfer Protocol) with support for UTF-8 email headers (RFC6532, RFC6531) and stricter IP address grammar (RFC3986).
Using the library
Add library as dependency in rebar.config
{deps, [
{email_validator, "1.0.0"}
...
]}.
Add email_validator
as application dependency
{application, app,
[
{applications, [
...
email_validator
]},
...
]}.
Use email_validator:validate/1
for email validation.