<<< Date Index >>>     <<< Thread Index >>>

Re: sendhook



Ian Wat <ian@xxxxxxxxxxxx> wrote:
| * mess-mate (messmate@xxxxxxx) wrote:
| > is there a way to change the from and signature values when 
| > reply to a message based on the 'To:' header ?
| > If a message is addressed 'To: some@xxxxxxx',
| > set my_hdr as 'From: messmate@xxxxxxx' and set 'this signature'.
| 
| The only way I could come up with a way to do this is with a
| message-hook.  You would, of course, have to reset those settings for
| your other messages.
| 
| message-hook . 'set from="me@xxxxxxxxxx"'
| message-hook '~t some@xxxxxxx' 'set from="me@xxxxxxxxxxxxxx"'
| 
Thanks Ian, 
but i mean, a sendhook for a 'reply' based on the 'From:' of the
incoming message.
That ~t only works on a NEW mail, not e reply to a mail.

mess-mate                               
--
Accent on helpful side of your nature.  Drain the moat.