Packages
Simple library checking the validity of an email. Checks are performed in the following order: - REGEX: validate the emails has a good looking format - MX: validate the domain sever contains MX records - SMTP: validate the SMTP behind the MX records knows this email address (no email sent)
Current section
Files
Jump to
Current section
Files
lib/email_checker/check.ex
defmodule EmailChecker.Check do
@moduledoc """
Bahaviour for all Checks
"""
@callback valid?(String.t) :: boolean
end