SendGrid: report dropped "Bounced Address" webhook events as reason "bounced"

In SendGrid tracking webhook, handle event="dropped", reason="Bounced Address" 
events as type "dropped", reject_reason "bounced" (rather than reject_reason "other").

See https://www.twilio.com/docs/sendgrid/for-developers/tracking-events/event#dropped
This commit is contained in:
Vitaliy
2024-06-20 17:42:25 -04:00
committed by GitHub
parent 0f2eef7300
commit 6e696b8566
3 changed files with 43 additions and 0 deletions

View File

@@ -52,6 +52,13 @@ Features
and ``tags`` when sending with a ``template_id``.
(Requires boto3 v1.34.98 or later.)
Fixes
~~~~~
* **SendGrid:** In the tracking webhook, correctly report "bounced address"
(recipients dropped due to earlier bounces) as reject reason ``"bounced"``.
(Thanks to `@vitaliyf`_.)
v10.3
-----
@@ -1672,4 +1679,5 @@ Features
.. _@Tobeyforce: https://github.com/Tobeyforce
.. _@varche1: https://github.com/varche1
.. _@vgrebenschikov: https://github.com/vgrebenschikov
.. _@vitaliyf: https://github.com/vitaliyf
.. _@yourcelf: https://github.com/yourcelf