On Wed, Aug 24, 2016 at 10:48 PM, Michael Elkins <m...@sigpipe.org> wrote: > 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.
I understand, thanks for your answer. Maybe the manual is not accurate: - it should indicate send2-hook and not send-hook, - it should not only limit the remark to "recipient headers" and "subject". -- Gabriel