mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
A v2 SendEmail or SendBulkEmail with inline TemplateContent was accepted as soon as one of the subject, text or html was set, and an empty one was answered with a message of Floci's own. SES needs a subject and a text or html part, each with a non-whitespace character, and answers every incomplete shape with "Template is missing required fields." It reports that ahead of a missing or malformed sender, the destinations, the template data and the configuration set and tenant lookups, so the check now runs first on both operations. A stored template is no longer checked again when a send renders it: it was validated when it was stored. A template that names a stored template beside TemplateContent now answers with the message SES uses on each operation.