Add support to use `SendRawEmail` so custom headers work

Created on 16 April 2024, 2 months ago
Updated 30 April 2024, about 2 months ago

Problem/Motivation

We use Amazon SES to send out bulk emails, which are templated by Amazon using special SES custom headers. That works fine when using SMTP, but the amazon_ses module uses a SecondEmail call that that does not allow you to specify custom headers. That in turn means our template isn't applied (and we can't add in the mandatory 1-click unsubscribe links that Amazon requires)

Steps to reproduce

Proposed resolution

Add either a config option on the current handler to flip between Send and SendRaw or implement a second handler class (amazon_ses_raw) to allow operation both ways as needed.

Remaining tasks

All of it.

User interface changes

Extra settings.

API changes

Ideally none.

Data model changes

No.

✨ Feature request
Status

Closed: works as designed

Version

3.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia cafuego

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024