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

Re: selecting "from" when sending an email



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday, October  6 at 11:10 PM, quoth Joseph:
>>> When sending an email to certain person I have a hook:
>>>
>>> send-hook '~t ^family_member1@xxxxxxxxx$|~t family_member2@xxxxxxxxx' 
>>> "my_hdr From: Joseph <my_email@address>; set signature=~/.mutt/signature$
>>>
>>> Now the problem is when my wife wants to send an email to one of these 
>>> persons my "From: email" and my "signature" is automatically selected. 
>>> Is there a way to select different headers (from, signature etc) when 
>>> sending and email the the same person?
>>
>> How exactly is mutt supposed to know whether it's you or your wife at 
>> the keyboard?
>
> That is my question.

The *usual* way that people do this is that two people don't share a 
single email account and client.

But for those that want to be able to toggle between return addresses 
(and/or signatures), the answer is usually to create a macro that will 
change all the necessary settings. For example:

macro compose <f1> "set signature=~/.mutt/wifesig; my_hdr From: 
<wife@address><enter>"

~Kyle
- -- 
To invent, you need a good imagination and a pile of junk.
                                                    -- Thomas Jefferson
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iEYEARECAAYFAkjq8FEACgkQBkIOoMqOI149HACfU5pwfwmZLeusILx65Tz2iqze
IN4An0ndpNKKT+eTE0VBeGyhvQB4rIKK
=uLRR
-----END PGP SIGNATURE-----