diff --git a/events/ses.go b/events/ses.go index ff899856..2ca0a02c 100644 --- a/events/ses.go +++ b/events/ses.go @@ -49,6 +49,7 @@ type SimpleEmailHeader struct { type SimpleEmailCommonHeaders struct { From []string `json:"from"` To []string `json:"to"` + Cc []string `json:"cc,omitempty"` ReturnPath string `json:"returnPath"` MessageID string `json:"messageId"` Date string `json:"date"` diff --git a/events/testdata/ses-sns-event.json b/events/testdata/ses-sns-event.json index 771d5006..c030514a 100644 --- a/events/testdata/ses-sns-event.json +++ b/events/testdata/ses-sns-event.json @@ -101,6 +101,10 @@ "to": [ "recipient@example.com" ], + "cc": [ + "cc@example.com", + "cc2@example.com" + ], "messageId": "<61967230-7A45-4A9D-BEC9-87CBCF2211C9@example.com>", "subject": "Example subject" }