Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 1.36 KB

EmailValidationResult.md

File metadata and controls

38 lines (32 loc) · 1.36 KB

ElasticEmail::EmailValidationResult

Properties

Name Type Description Notes
account String Local part of an email [optional]
domain String Name of selected domain. [optional]
email String Full email address that was verified [optional]
suggested_spelling String Suggested spelling if a possible mistake was found [optional]
disposable Boolean Does the email have a temporary domain [optional]
role Boolean Is an email a role email (e.g. info@, noreply@ etc.) [optional]
reason String All detected issues [optional]
date_added Time Added date [optional]
result EmailValidationStatus [optional][default to 'None']
predicted_score Float Predicted score [optional]
predicted_status EmailPredictedValidationStatus [optional][default to 'None']

Example

require 'ElasticEmail'

instance = ElasticEmail::EmailValidationResult.new(
  account: null,
  domain: example.com,
  email: null,
  suggested_spelling: null,
  disposable: null,
  role: null,
  reason: null,
  date_added: null,
  result: null,
  predicted_score: null,
  predicted_status: null
)