I would expect every message should have "zone2" added in 'x-sending-zone' header but it seems that the core/default-headers plugin is triggered BEFORE the 000-headers plugin, in fact the x-sending-zone header field is not present at that point and the zone used is always the default.
Hello, I tried to configure a programmatic different message delivery based on sendingZone. This is an extract of my configuration:
This is the content of 000-headers.js plugin:
I would expect every message should have "zone2" added in 'x-sending-zone' header but it seems that the core/default-headers plugin is triggered BEFORE the 000-headers plugin, in fact the x-sending-zone header field is not present at that point and the zone used is always the default.
Can you clarify how the sendingZone works?
Thanks