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

Re: send-hook not working



* Rejo Zenger <mutt-users@xxxxxxxxxxxxxxx> [04-13-08 04:31]:
> ++ 12/04/08 23:19 +0200 - Sander Smeenk:
> >That's weird.
> 
> I nailed down the problem. As one of the first hooks I have:
> 
>   folder-hook .                  unhook send-hook
> 
> If this one is removed, it works. I am wondering why I put that line
> there in the first place. So, now running without this line and see what
> else is broken. :)

iirc, hooks act on the first match found.  You would place the
*default* desired action (hook) last in the order to set that action
on all that have not matched higher in the order.


-- 
Patrick Shanahan         Plainfield, Indiana, USA        HOG # US1244711
http://wahoo.no-ip.org     Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535                    @ http://counter.li.org