mirror of
https://github.com/floci-io/floci.git
synced 2026-11-29 08:31:53 -05:00
SES v2 refused the headers it sets itself (From, To, Cc, Bcc, Subject, Date, Message-ID, Reply-To, Return-Path, MIME-Version, Content-Type and Content-Disposition, in any case) only in a SendEmail's Content.Simple.Headers. Content.Template.Headers and the SendBulkEmail default and replacement headers now refuse them too, with 400 BadRequestException "Header <Name> is not supported" and the name as sent. On SendBulkEmail one refused header, default or in any entry, fails the whole call. As probed on AWS, the refusal comes right after the request shape, ahead of the sender, content and template data checks, the destination count, the template and configuration set lookups and the sender verification.