Open BuffMcBigHuge opened 5 years ago
Is that an error from SendRawEmail?
Download the message from S3 and look for that header. Maybe compare to some messages that are working?
There is a bunch of code that removes headers from the messages. You might just need to add a line for this one too.
Examples:
// Remove the Return-Path header.
header = header.replace(/^Return-Path: (.*(?:\r?\n\s+.*)*)\r?\n/mg, '');
// Remove Sender header.
header = header.replace(/^Sender: (.*(?:\r?\n\s+.*)*)\r?\n/mg, '');
// Remove Message-ID header.
header = header.replace(/^Message-ID: (.*)\r?\n/mig, '');
I'm seeing this error on several emails. Any insight?