Files
mail/queue
Ben Cartwright-CoxandMechiel Lukkien ccbf93ce07 Build error webhook payloads with up to date status information
When mox attempts an outbound delivery the prepare func adds a MsgResult
for the delivering state to the results array, so that there is something
in the DB for when the deliery begins

When a (in this case tempoary) failure happens though, it uses
the wrong array with stale data about what happened to build
the webhook delivery, the umsgs array /should/ (and seems to when tested)
have the real error in it.

This stops status webhooks from being delivered with just "Delivering..."
in the error string.

tag: https://github.com/mjl-/mox/issues/435
2026-06-07 23:09:57 +02:00
..