postal icon indicating copy to clipboard operation
postal copied to clipboard

MessageBounced event lacks RFC code for bounce type (Hard or Soft bounce)

Open benstaf opened this issue 6 months ago • 2 comments

MessageBounced event lacks RFC code to identify Bounce type:

Screenshot_2024-08-14-19-07-14-456_com android chrome-edit

SendGrid documentation explains that bounce message gives important information to identify the reason for the email delivery failure: the RFC code. According to the RFC, hard bounces are depicted by a 5XX code and soft bounces by a 4XX code (in general)

The best practice is that upon reception of the webhook, the mailing list software (Mautic, etc...) should unsubscribe hard bounces immediately, and leave soft bounces.

That's why bounce type is included in webhooks of all providers: Mailgun, Postmark, Amazon and others

However, bounce type seems missing from Postal bounce webhook

I can help for implementation if it hasn't been done before

benstaf avatar Aug 14 '24 18:08 benstaf