On Wed, Aug 24, 2016 at 01:28:22PM +0200, Gabriel Philippe wrote:
From the manual: "Also note that my_hdr commands which modify
recipient headers, or the message's subject, don't have any effect on
the current message when executed from a send-hook."

The manual is correct on this point.  send2-hook can't be used to modify the
message header, because Mutt is not smart enough to be able to avoid
overwriting modifications the user may make in their editor.  The `my_hdr`
commands are only processed initially when the message is first constructed
(after `send-hook` is processed, which is why that version works).

me

Reply via email to