How can I change the sender\'s name or e-mail address (From: header) used by mutt?
100% Working!
To send HTML contents in the body of the mail on the go with Sender and Recipient mail address in single line, you may try the below,
export EMAIL="sender@example.com" && mutt -e "my_hdr Content-Type: text/html" -s "Test Mail" "recipient@example.com" < body_html.html
File: body_html.html
Test Mail
This is a test mail!
Note: Tested in RHEL, CentOS, Ubuntu.