On Thu, Mar 23, 2000 at 03:37:31AM -0600, Aaron Schrab wrote:
> At 05:19 +0000 23 Mar 2000, J McKitrick <[EMAIL PROTECTED]> wrote:
> > I'm trying to do two things here. Change the sig and the From in my
> > headers when i am in the 'school' folder. So far, only the sig come
> > up right. I can't get the From field to change.
>
> > send-hook . 'my_hdr From: J McKitrick <[EMAIL PROTECTED]>'
>
> The above line is the problem.
>
> > folder-hook school 'my_hdr From: J McKitrick <[EMAIL PROTECTED]>'
>
> Order in the .muttrc only matters for the same type of hook. Your
> folder-hook is working and setting up the header as you want it, but
> when you send a message the above send-hook get's executed and overrides
> the effect of the folder-hook.
Actually, i found a way to do it. Silly me. Remove the 'send-hook'
fromt he first line, and just use my_hdr to create my return address.
Then use folder-hook to change it after that. The only send-hooks i
have left change the sig, not the header.
jm
--
--------------------------------------------
Jonathon McKitrick -- [EMAIL PROTECTED]
Pure... unrefined... spice....
--------------------------------------------