On Thu, Jul 20, 2000 at 04:58:35PM +0000, [EMAIL PROTECTED] wrote:
> I retrieve email from two different email accounts, and I would like to be
> able to *send* email from both addresses; after looking at the manual I
> thought that perhaps "$alternates" was the right variable, but, according to
> the manual, it only defines which addresses mutt recognizes as "mine" when
> it comes to saying whether email is "From:" me or "To:" me.

No, $alternates is just a way to specify which mail accounts are yours for
purposes to presenting $index_chars to you in the main mail display.
What you need to do is set up a series of send-hook's to change the from:
line based upon who you are sending mail to.

First you use a default hook to set the mail address you most often use:

        send-hook ~A my_hdr from: Default Adderss <[EMAIL PROTECTED]>

Then put specific hooks for when you want to use the other addresses:

        send-hook ~C bob my_hdr from: Other Address <[EMAIL PROTECTED]>

(this will set your mail to [EMAIL PROTECTED] when sending mail to: or cc:
`bob').  See the manual section on `my_hdr' for more information.

me

PGP signature

Reply via email to