Closed mtarnovan closed 4 years ago
I think PR changes are about renderer logic. And they should be here lib/bamboo/adapters/rfc2822_with_bcc.ex
.
I tried that first, but SesAdapter.prepare_address
converts addresses to strings before rendering, so RFC2822WithBcc.render_address({name, email})
is never actually called.
We recently switched from another provider to SES, only to discover that the former provider was transparently rewriting email headers and subjects to make them work with non-ascii chars.
This PR allows bamboo_ses to optionally rewrite addresses and the subject to use RFC1342 encoding, and to use punycode for the domain part of email addresses.
Note that this does not include docs changes.