I have a question that has been asked many times, but I don't think it
really has been answered:
When replying to a mail how can I set the From: header line so that it
corresponds to the To: address of the mail I am replying to? So far it's
easy (reverse_name and set_from), but when _not_ replying, I want to use
From: headers that correspond to the recipient of the new mail.
Here is an example:
When I write a new mail to the mutt-mailinglist I want From: to be:
[EMAIL PROTECTED]
But when I get a mail from someone who sent it to "[EMAIL PROTECTED]"
I want From: to be "[EMAIL PROTECTED]"
I tried it this way:
send-hook '~C mutt-' 'my_hdr From: Andy Spiegl <[EMAIL PROTECTED]>'
but then reverse_name doesn't work.
So I tried:
send-hook '~C mutt-' 'set from="Andy Spiegl <[EMAIL PROTECTED]>"'
but then from is set for the next mail, not for the current one. *argh*
How did you guys solve this dilemma?
Thanks a lot in advance,
Andy.
--
E-Mail: [EMAIL PROTECTED] URL: http://andy.spiegl.de
PGP/GPG: see headers
o _ _ _
--------- __o __o /\_ _ \\o (_)\__/o (_)
------- _`\<,_ _`\<,_ _>(_) (_)/<_ \_| \ _|/' \/
------ (_)/ (_) (_)/ (_) (_) (_) (_) (_)' _\o_
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sweater, n.: A garment worn by a child when its mother feels chilly.