Skip to content

Commit

Permalink
Add Cc to common headers
Browse files Browse the repository at this point in the history
  • Loading branch information
bbaayyy committed Nov 28, 2024
1 parent 8e674da commit e7fc0b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions events/ses.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down
4 changes: 4 additions & 0 deletions events/testdata/ses-sns-event.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@
"to": [
"[email protected]"
],
"cc": [
"[email protected]",
"[email protected]"
],
"messageId": "<[email protected]>",
"subject": "Example subject"
}
Expand Down

0 comments on commit e7fc0b1

Please sign in to comment.