#3986: send-hook for Cc and Bcc executed too late
-----------------------+------------------------------
Reporter: alahouze | Owner: mutt-dev
Type: defect | Status: new
Priority: major | Milestone:
Component: mutt | Version:
Resolution: | Keywords: send-hook my_hdr
-----------------------+------------------------------
Comment (by kevin8t8):
Please see https://muttmua.gitlab.io/mutt/manual-dev.html#send-hook the
second note:
send-hook's are only executed once after getting the initial list of
recipients. Adding a recipient after replying or editing the message will
not cause any send-hook to be executed, similarly if $autoedit is set (as
then the initial list of recipients is empty). 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.
--
Ticket URL: <https://dev.mutt.org/trac/ticket/3986#comment:1>
Mutt <http://www.mutt.org/>
The Mutt mail user agent