mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 03:41:05 -05:00
Amazon SES: Fix header encoding problem
A combination of long display name and commas (or other special characters) could result in invalid address headers. See details in #369. Fix by removing unnecessary email.policy override, which was causing new header folding code to run with headers built using Compat32 legacy header encoding. The two don't mix. Fixes #369
This commit is contained in:
@@ -65,6 +65,10 @@ Features
|
||||
Fixes
|
||||
~~~~~
|
||||
|
||||
* **Amazon SES:** Fix a bug that could result in sending a broken address header
|
||||
if it had a long display name containing both non-ASCII characters and commas.
|
||||
(Thanks to `@andresmrm`_ for isolating and reporting the issue.)
|
||||
|
||||
* **SendGrid:** In the tracking webhook, correctly report "bounced address"
|
||||
(recipients dropped due to earlier bounces) as reject reason ``"bounced"``.
|
||||
(Thanks to `@vitaliyf`_.)
|
||||
@@ -1639,6 +1643,7 @@ Features
|
||||
|
||||
.. _@ailionx: https://github.com/ailionx
|
||||
.. _@alee: https://github.com/alee
|
||||
.. _@andresmrm: https://github.com/andresmrm
|
||||
.. _@anstosa: https://github.com/anstosa
|
||||
.. _@Arondit: https://github.com/Arondit
|
||||
.. _@b0d0nne11: https://github.com/b0d0nne11
|
||||
|
||||
Reference in New Issue
Block a user