View Source ExUserCheck.Emails (ex_user_check v0.2.0)

Check if an email address is valid and assess its risk factors

Summary

Functions

Validates an email address and retrieves risk assessment details.

Functions

Validates an email address and retrieves risk assessment details.

Parameters

  • email (string): The email address to validate.

Returns

  • {:ok, response_body} if the request is successful.
  • {:error, reason} if the request fails.

Examples

iex> ExUserCheck.Emails.check("user@example.com")
{:ok, %{"valid" => true, "disposable" => false, "spam" => false, ...}}