email_checker v0.1.1 EmailChecker.Check.SMTP

Check if an emails server is aknowledging an email address.

Summary

Functions

Check if an emails server is aknowledging an email address

Functions

valid?(email, retries \\ max_retries())
valid?(String.t, non_neg_integer) :: boolean

Check if an emails server is aknowledging an email address.

Parameters

  • email - binary - the email to check
  • retries - non_neg_integer - max retries (default from config)

Example

iex> EmailChecker.Check.SMTP.valid?("test@gmail.com")
false