On Wed, Jun 07, 2000 at 07:05:49PM +0100, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I have set up a mailbox just for my work emails, could mutt detect that I'm
> viewing a work mailbox when I hit the "m" key, and set the from address to
> my work email address?

    This would be done using the folder-hook feature.  As you enter a
folder, you can set whatever mutt options you'd like for the folder.

> Or is there a better condition that could be checked, like the presence of
> my works domain name in the to or cc fields maybe?

    This can be done using the send-hook feature.  You use regular
expressions to match the header fields.

    Check out the mutt manual for more extensive documentation on
these and other types of hooks.

-- 
Bob Bell                Compaq Computer Corporation
Software Engineer       110 Spit Brook Rd - ZKO3-3/U14
TruCluster Group        Nashua, NH 03062-2698
[EMAIL PROTECTED]     603-884-0595

Reply via email to