Class EmailVerificationResult
Email verification result. Valid means email address exists according to response from mail server running at the domain and port given.
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "EmailVerificationResult")]
public class EmailVerificationResult : IValidatableObject
Constructors
View SourceEmailVerificationResult()
Initializes a new instance of the EmailVerificationResult class.
Declaration
[JsonConstructor]
protected EmailVerificationResult()
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 SourceDomainName
Gets or Sets DomainName
Declaration
[DataMember(Name = "domainName", IsRequired = true, EmitDefaultValue = true)]
public string DomainName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EmailAddress
Gets or Sets EmailAddress
Declaration
[DataMember(Name = "emailAddress", IsRequired = true, EmitDefaultValue = true)]
public string EmailAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Error
Gets or Sets Error
Declaration
[DataMember(Name = "error", EmitDefaultValue = true)]
public string Error { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
IsValid
Gets or Sets IsValid
Declaration
[DataMember(Name = "isValid", IsRequired = true, EmitDefaultValue = true)]
public bool IsValid { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
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 SourceToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
| Type | Description |
|---|---|
| string | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | String presentation of the object |