Skip to content

Add DMARC verdict to Simple Email Receipt #778

@luiscnsousa

Description

@luiscnsousa

SimpleEmailReceipt type is missing a property to get the DMARC verdict from SES.

Describe the Feature

The incoming email event provided by SES to a Lambda function already contains a verdict regarding DMARC verification. Inside the receipt object we can find this verdict and the corresponding status. This verdict is not yet exposed on the SimpleEmailReceipt type and my proposal is to do so by adding a new property for DMARC.

Proposed Solution

Implemented on pull request #777.

Additional Context

I've encountered this issue when consuming SimpleEmailEvent<LambdaReceiptAction> in a Lambda function, invoked directly by Simple Email Service, as the DMARC verdict was not accessible, although the serialized json had that information.

Environment

  • 👋 I'm able to implement this feature request
  • ⚠️ This feature might incur a breaking change

This is a 🚀 Feature Request

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions