On Wed, Feb 13, 2002 at 02:22:30AM +0800, csj wrote: | On Mon, 11 Feb 2002 16:53:29 -0800 | Craig Dickson <[EMAIL PROTECTED]> wrote: | | > begin csj quotation: | [...] | > > My question: how do I arbitrarily set the From: header in Mutt. I know about | > > stuff like my_hdr and /etc/email-addresses. What I want to know is if | > > there's a way to do it so I don't have to muck with the config files every | > > time I want to send mail under a different persona, something like an | > > addressbook for myself. | [...] | > Put this in your .muttrc: | > | > set edit_headers | > | > Then you'll get to mangle the headers however you want every time you | > edit a message. | | "mangle" is the word. I was actually looking for something more elegant. | An option to let me fill in just the From: field, like the To: and Bcc: | (etc.) fields. Is there any religious reason why Mutt disables this | capability? It seems a rather basic capability to me (whose first mail | program was KMail).
You can edit the headers individually in the screen that appears after you compose the body but before you actually send (where you can also add attachments). If determining which From: to use is regular, the following technique may help you : set realname=dman set [EMAIL PROTECTED] set use_from send-hook '<pattern to match>' \ 'set realname="other_name" from="other_addr"' -D -- Q: What is the difference betwee open-source and commercial software? A: If you have a problem with commercial software you can call a phone number and they will tell you it might be solved in a future version. For open-source sofware there isn't a phone number to call, but you get the solution within a day.