Re: folder-hook 'set send-hook' - reset to '.'?
* Charlie Allom <charlie@xxxxxxxxxxxxxx> [2004-05-27 18:55 +1000]:
> How can I set this:
> folder-hook . 'send-hook . "my_hdr From: Charlie Allom
> <charlie@xxxxxxxxxxxxxx>"'
> folder-hook . 'send-hook . "set signature=.signature"'
>
> meaning, for every folder, set the send-hook to be from my personal
> account,
>
> and this:
> folder-hook =mi 'send-hook . "my_hdr From: Charlie Allom
> <charlie@xxxxxxxxxxxxxxxxx>"'
> folder-hook =mi 'send-hook . "set signature=.signature_mi"'
>
> meaning, for =mi ONLY, set my work email From: and .signature
>
> Currently, if I open =INBOX, and reply to someone, my personal email is
> used. Then if I open =mi, my work email is used - BUT when I change back
> to =INBOX, my work email is still used! how can I reset this for each
> personal mailbox without specifying each on in the config file?
Add "folder-hook . unhook send-hook" before the other hooks. You have
to set all your send-hooks in your folder-hooks.
HTH
Nicolas