Files
floci/src/main/java
Kenshin Okinaka 0af048a099 fix(ses): require a subject and a part in an inline send template (#9064)
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.
2026-11-19 21:46:04 -04:00
..