[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mutt-users
Subject:    Re: send2-hook can't change Reply-To
From:       Gabriel Philippe <gabri.philippe () gmail ! com>
Date:       2016-08-26 11:19:19
Message-ID: CAJ-6NAv83nxTO=mDAchappu29iTdLwc+Fvi=yuCTQgjA+1rSkg () mail ! gmail ! com
[Download RAW message or body]

On Wed, Aug 24, 2016 at 10:48 PM, Michael Elkins <me@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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic