EmailValidateResult Properties |
The EmailValidateResult type exposes the following members.
Name | Description | |
---|---|---|
![]() |
email address being validated
| |
![]() | error_message |
Returns the error message.
|
![]() | free_email |
True if this is a free email provider
|
![]() | is_role |
True if this is a role email (sales, info, ...)
|
![]() | reason |
The reason
|
![]() | result |
Invalid, Risky, Safe to Send, Unknown
|
![]() | result_code |
The result of the validation
TEXT CODE DESCRIPTION SAFE TO SEND?
Syntax 1 Not an email. No
Spam Trap 2 Spam-trap by ESPs. No
Disposable 3 A temporary, disposable address. No
Accept-All 4 A domain-wide setting. Maybe, Not recommended unless on private server
Deliverable 5 Verified as real address. Yes
Invalid 6 Verified as invalid (Bounce). No
Unknown 7 The server cannot be reached. No
Role 8 Role accounts such as info, support... Maybe, Not recommended
|
![]() | send_marketing |
True if marketing email can be sent to this address.
|
![]() | send_transactional |
True if transactional email should be sent to this email. This does not mean send marketing emails.
|
![]() | should_send |
Returns true if the email should be sent using the following logic:
should_send == true if the result_code is one of: [Unknown, Error, Deliverable].
should_send == true if the behavior attribute TreatCatchAllAsDeliverable is set on the service and the result_code is CatchAll.
should_send == true if the behavior attribute TreatRoleAsDeliverable is set on the service and the result_code is Role.
|
![]() | smtp_provider |
Get/Sets the smtp provider name. (Only Zerobounce supports this).
|