Search Results for

    Show / Hide Table of Contents

    Class EmailVerificationResult

    Email verification result. Valid means email address exists according to response from mail server running at the domain and port given.

    Inheritance
    object
    EmailVerificationResult
    Implements
    IValidatableObject
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: mailslurp.Model
    Assembly: mailslurp.dll
    Syntax
    [DataContract(Name = "EmailVerificationResult")]
    public class EmailVerificationResult : IValidatableObject

    Constructors

    View Source

    EmailVerificationResult()

    Initializes a new instance of the EmailVerificationResult class.

    Declaration
    [JsonConstructor]
    protected EmailVerificationResult()
    View Source

    EmailVerificationResult(string, int, string, bool, string)

    Initializes a new instance of the EmailVerificationResult class.

    Declaration
    public EmailVerificationResult(string domainName = null, int port = 0, string emailAddress = null, bool isValid = false, string error = null)
    Parameters
    Type Name Description
    string domainName

    domainName (required).

    int port

    port (required).

    string emailAddress

    emailAddress (required).

    bool isValid

    isValid (required).

    string error

    error.

    Properties

    View Source

    DomainName

    Gets or Sets DomainName

    Declaration
    [DataMember(Name = "domainName", IsRequired = true, EmitDefaultValue = true)]
    public string DomainName { get; set; }
    Property Value
    Type Description
    string
    View Source

    EmailAddress

    Gets or Sets EmailAddress

    Declaration
    [DataMember(Name = "emailAddress", IsRequired = true, EmitDefaultValue = true)]
    public string EmailAddress { get; set; }
    Property Value
    Type Description
    string
    View Source

    Error

    Gets or Sets Error

    Declaration
    [DataMember(Name = "error", EmitDefaultValue = true)]
    public string Error { get; set; }
    Property Value
    Type Description
    string
    View Source

    IsValid

    Gets or Sets IsValid

    Declaration
    [DataMember(Name = "isValid", IsRequired = true, EmitDefaultValue = true)]
    public bool IsValid { get; set; }
    Property Value
    Type Description
    bool
    View Source

    Port

    Gets or Sets Port

    Declaration
    [DataMember(Name = "port", IsRequired = true, EmitDefaultValue = true)]
    public int Port { get; set; }
    Property Value
    Type Description
    int

    Methods

    View Source

    ToJson()

    Returns the JSON string presentation of the object

    Declaration
    public virtual string ToJson()
    Returns
    Type Description
    string

    JSON string presentation of the object

    View Source

    ToString()

    Returns the string presentation of the object

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    String presentation of the object

    Overrides
    object.ToString()

    Implements

    IValidatableObject
    • View Source
    In this article
    • Constructors
      • EmailVerificationResult()
      • EmailVerificationResult(string, int, string, bool, string)
    • Properties
      • DomainName
      • EmailAddress
      • Error
      • IsValid
      • Port
    • Methods
      • ToJson()
      • ToString()
    • Implements
    Back to top See MailSlurp website for more information.