Class EmailAnalysis
Analysis result for email. Each verdict property is a string PASS|FAIL|GRAY or dynamic error message
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "EmailAnalysis")]
public class EmailAnalysis : IValidatableObject
Constructors
View SourceEmailAnalysis(string, string, string, string, string)
Initializes a new instance of the EmailAnalysis class.
Declaration
public EmailAnalysis(string spamVerdict = null, string virusVerdict = null, string spfVerdict = null, string dkimVerdict = null, string dmarcVerdict = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | spamVerdict | Verdict of spam ranking analysis. |
| string | virusVerdict | Verdict of virus scan analysis. |
| string | spfVerdict | Verdict of Send Policy Framework record spoofing analysis. |
| string | dkimVerdict | Verdict of DomainKeys Identified Mail analysis. |
| string | dmarcVerdict | Verdict of Domain-based Message Authentication Reporting and Conformance analysis. |
Properties
View SourceDkimVerdict
Verdict of DomainKeys Identified Mail analysis
Declaration
[DataMember(Name = "dkimVerdict", EmitDefaultValue = true)]
public string DkimVerdict { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Verdict of DomainKeys Identified Mail analysis |
DmarcVerdict
Verdict of Domain-based Message Authentication Reporting and Conformance analysis
Declaration
[DataMember(Name = "dmarcVerdict", EmitDefaultValue = true)]
public string DmarcVerdict { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Verdict of Domain-based Message Authentication Reporting and Conformance analysis |
SpamVerdict
Verdict of spam ranking analysis
Declaration
[DataMember(Name = "spamVerdict", EmitDefaultValue = true)]
public string SpamVerdict { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Verdict of spam ranking analysis |
SpfVerdict
Verdict of Send Policy Framework record spoofing analysis
Declaration
[DataMember(Name = "spfVerdict", EmitDefaultValue = true)]
public string SpfVerdict { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Verdict of Send Policy Framework record spoofing analysis |
VirusVerdict
Verdict of virus scan analysis
Declaration
[DataMember(Name = "virusVerdict", EmitDefaultValue = true)]
public string VirusVerdict { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Verdict of virus scan analysis |
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 |