Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,11 @@ public class SimpleEmailReceipt<TReceiptAction> where TReceiptAction : IReceiptA
/// </summary>
public SimpleEmailVerdict VirusVerdict { get; set; }

/// <summary>
/// The DMARC verdict of the message, e.g. status: PASS.
/// </summary>
public SimpleEmailVerdict DMARCVerdict { get; set; }

/// <summary>
/// The action of the message (i.e, which lambda was invoked, where it was stored in S3, etc)
/// </summary>
Expand Down Expand Up @@ -203,7 +208,7 @@ public class SimpleEmailCommonHeaders
}

/// <summary>
/// Verdict to return status of Spam, DKIM, SPF, and Virus.
/// Verdict to return status of Spam, DKIM, SPF, Virus, and DMARC.
/// </summary>
public class SimpleEmailVerdict
{
Expand Down
1 change: 1 addition & 0 deletions Libraries/test/EventsTests.Shared/EventTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ public void SimpleEmailTest(Type serializerType)
Assert.Equal(record.Ses.Receipt.DKIMVerdict.Status, "PASS");
Assert.Equal(record.Ses.Receipt.SPFVerdict.Status, "PASS");
Assert.Equal(record.Ses.Receipt.VirusVerdict.Status, "PASS");
Assert.Equal(record.Ses.Receipt.DMARCVerdict.Status, "PASS");
Assert.Equal(record.Ses.Receipt.ProcessingTimeMillis, 574);

Handle(sesEvent);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@
},
"virusVerdict": {
"status": "PASS"
},
"dmarcVerdict": {
"status": "PASS"
}
}
},
Expand Down