Click or drag to resize

EmailValidateResult Class

Results from a validated email address
Inheritance Hierarchy
SystemObject
  NetQuarry.ServicesEmailValidateResult

Namespace:  NetQuarry.Services
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public class EmailValidateResult

The EmailValidateResult type exposes the following members.

Constructors
  NameDescription
Public methodEmailValidateResult
Initializes a new instance of the EmailValidateResult class
Top
Properties
  NameDescription
Public propertyemail
email address being validated
Public propertyerror_message
Returns the error message.
Public propertyfree_email
True if this is a free email provider
Public propertyis_role
True if this is a role email (sales, info, ...)
Public propertyreason
The reason
Public propertyresult
Invalid, Risky, Safe to Send, Unknown
Public propertyresult_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
Public propertysend_marketing
True if marketing email can be sent to this address.
Public propertysend_transactional
True if transactional email should be sent to this email. This does not mean send marketing emails.
Public propertyshould_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.
Public propertysmtp_provider
Get/Sets the smtp provider name. (Only Zerobounce supports this).
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodEqualValue
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.)
Top
See Also