One of the special cases for this is to use the ~ / .muttrc file:
# Reset From email to default send-hook . "my_hdr From: Real Name <email@example.com>"
This response will overlap one of the following:
mutt -e "set from=email@example.com" mutt -e "my_hdr From: Other Name <otheremail@example.com>"
Your messages will still be displayed with a heading:
From: Real Name <email@example.com>
In this case, the only command line solution I found actually overrides the sender itself:
mutt -e "send-hook . \"my_hdr From: Other Name <otheremail@example.com>\""
puzzlement Aug 03 '13 at 1:51 on 2013-08-03 01:51
source share