2 Answers
- Newest
- Most votes
- Most comments
1
With Amazon Cognito, Custom message Lambda trigger, you can only set the following:
- "smsMessage": "string",
- "emailMessage": "string",
- "emailSubject": "string"
You cannot set the email headers as of now. However using a different subject line may allow you to not group emails from being shown as a threads without using "X-Entity-Ref-ID".
0
So the only solution to this problem is to use a CustomEmailSender and add the header in that lambda. A lot more code to write to access SES but more control. A shame, access to settings headers on emails would simplify all this.
answered 2 years ago
Relevant content
- Accepted Answerasked 8 months ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 6 months ago
This is not implemented in the triggers unfortunately.