EmailChecker.Check.SMTP (email_checker v0.2.3)

Check if an emails server is aknowledging an email address.

Link to this section Summary

Functions

Check if an emails server is aknowledging an email address.

Link to this section Functions

Link to this function

valid?(email, retries \\ max_retries())

Specs

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