> -neelakanth
>
Sometime ago, [EMAIL PROTECTED] said:
> I would like to be able to use a different "from" address for some emails
> I send.
>
> This is because I have 2 email addresses, home and work.
>
> Sometimes I send email from home to my work collegues, I would like these
> emails to be from my work address. So as not to confuse my collegues and
> give the impression I'm at work when really I'm at home :)
>
> How would I configure mutt to select the correct from address based on a
> condition. And what condition could I use?
>
> 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?
>
> 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?
>
Here is an email I had sent out to this list in feb 00. You may find
more suggestions in the mailing list archives for mutt-users (Feb).
> here is a part of my muttrc file
> ==================
> send-hook '(~C gnu)' source ~/.mutt/profile.gnu
>
> send-hook '(~C mutt)' "set signature="uptime|" ;my_hdr From: Neelakanth
><[EMAIL PROTECTED]> "
>
> ==================
>
> profile.gnu contains normal mutt stuff like my_hdr, etc...
> hope that helped
hope that helped,
-neelakanth