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

Re: folder-hook evaluation when invoked with email address



* Ryan Underwood <nemesis-lists@xxxxxxxxxxxx> [07-20-06 17:47]:
> When invoking mutt with an email address as in when it is used as an
> external MUA for mailto: URLs (i.e.: mutt asdf@xxxxxxxx), how can I
> get mutt to evaluate folder-hooks?  I would like it to evaluate the
> hooks for a particular folder if possible (by doing mutt -f uunet
> asdf@xxxxxxxx), but it doesn't seem to even evaluate the default
> folder-hooks when invoked in this fashion ....

Don't know how you would get mutt to evaluate folder-hooks when mutt in
not in a "mail" folder.  IIAC, you are invoking mutt in a single
purpose atmosphere.

Now, it might be possible to have your "mailto:"; call a script instead
of mutt, and have mutt opened in a specific folder (mutt -y <folder>)
and supply the to: address with a variable....
-- 
Patrick Shanahan                        Registered Linux User #207535
http://wahoo.no-ip.org                        @ http://counter.li.org
HOG # US1244711         Photo Album:  http://wahoo.no-ip.org/gallery2