Re: sendhook
On Mon, 2005-07-25 at 15:56:41 +0200, mess-mate sent:
>Pete Johns <paj-mutt@xxxx> wrote:
>| On Mon, 2005-07-25 at 15:28:35 +0200, mess-mate sent:
>| >Hi,
>| >is there a way ( or doc about sendhook) to set my from header when
>| >replying to a mail addressed to foo@xxxx ?
>| >Thanks in advance.
>| >
>| send-hook . 'my_hdr From: My Name <my@xxxx>'
>| send-hook "~t ^foo@xxxx$" 'my_hdr From: My Name <my@xxxx>'
>|
>| See 3.18 Change settings based upon message recipients in the
>| manual.
>|
>| Hope this helps;
>|
>Well.. no :)
>That kind of sendhook is for KNOW users to send.
>But my sendhook must be based on the incoming FROM header.
>Say, incoming message =
>To: foo1@xxxx
>From: foo2@xxxx
>
>So my sendhook must be based on foo2@xxxx
>( if from=foo2@xxxx; set my from header to messmate@xxxx)
>
Sorry, you are right. I didn't pay enough attention to the
details in your original message.
I cannot think of any simple way to do what you are after, I'
afraid.
Kind regards;
--paj