How to change the sender's name or e-mail address in mutt?

前端 未结 6 1913
傲寒
傲寒 2020-12-23 14:30

How can I change the sender\'s name or e-mail address (From: header) used by mutt?

6条回答
  •  清酒与你
    2020-12-23 14:54

    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.

提交回复
热议问题