Skip to content

Commit ba8a3a3

Browse files
bbaayyybmoffatt
andauthored
Add Cc to common headers (#578)
Co-authored-by: Bryan Moffatt <[email protected]>
1 parent d406b13 commit ba8a3a3

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

events/ses.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ type SimpleEmailHeader struct {
4949
type SimpleEmailCommonHeaders struct {
5050
From []string `json:"from"`
5151
To []string `json:"to"`
52+
Cc []string `json:"cc,omitempty"`
5253
ReturnPath string `json:"returnPath"`
5354
MessageID string `json:"messageId"`
5455
Date string `json:"date"`

events/testdata/ses-sns-event.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@
101101
"to": [
102102
103103
],
104+
"cc": [
105+
106+
107+
],
104108
"messageId": "<[email protected]>",
105109
"subject": "Example subject"
106110
}

0 commit comments

Comments
 (0)