EmailValidateResult Class |
Namespace: NetQuarry.Services
The EmailValidateResult type exposes the following members.
Name | Description | |
---|---|---|
EmailValidateResult | Initializes a new instance of the EmailValidateResult class |
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).
|
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
EqualValue |
Determines if the object value is equal to another object. If the two objects are null, then this returns true.
There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways).
If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.) |