Email validator for Erlang
Go to file
2021-06-23 15:26:48 +03:00
.github/workflows upgrade: +proper 1.4.0 +rebar3_lint 0.4.0 +rebar3_abnf_compiler 0.1.3 (#10) 2021-06-23 15:03:49 +03:00
src Version 1.1.0 (#11) 2021-06-23 15:26:48 +03:00
test Support for utf8 domain names (#8) 2020-02-25 15:03:16 +03:00
.gitignore CAPI-407: Initial library impl (#1) 2020-02-10 14:16:09 +03:00
elvis.config upgrade: +proper 1.4.0 +rebar3_lint 0.4.0 +rebar3_abnf_compiler 0.1.3 (#10) 2021-06-23 15:03:49 +03:00
LICENSE CAPI-407: Initial library impl (#1) 2020-02-10 14:16:09 +03:00
README.md Prepare for publish (#9) 2020-12-22 14:15:57 +03:00
rebar.config upgrade: +proper 1.4.0 +rebar3_lint 0.4.0 +rebar3_abnf_compiler 0.1.3 (#10) 2021-06-23 15:03:49 +03:00
rebar.lock CAPI-407: Initial library impl (#1) 2020-02-10 14:16:09 +03:00

Email validator for Erlang

Build Status Erlang Versions

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.