Horacio --
...and then Horacio said...
% Ok, since I got no reply to my previous questions on hooks, I
Sorry about that, but I for one wasn't sure what you were asking...
% take it doesn?t work and may be bypassed with the patch.
%
% I was having problems with using sendhooks and folderhooks
% both for choosing signatures:
%
% - sendhook should set the sig for any mail to *.com
% - but folderhook should override this and set a different sig
% when the mail is written from a given mailbox (even if the
% mail is for a *.com address)
%
% This doesn?t work as sendhooks seem to take precedence over
% folderhooks. Just an assumption.
Well, yes and no; a folder-hook gets executed whenever you enter a
matching folder, while a send-hook gets executed whenever you send a
matching email.
Have you tried defining a folder-hook that redefines your send-hook?
Please post your question again, perhaps with more detail, and I at least
will see if I can make heads or tails of it.
%
% Since the patch.my_hdr_subject executes sendhooks before
% setting the subject, I wondered if that might imply that the
% folderhooks will work since they will be executed after the
% sendhooks.
You probably don't need this -- though it's a fine patch anyway.
%
%
% Thank you,
HTH & HAND
% --
% Horacio
:-D
--
David T-G * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
PGP signature