Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multiple Headers for Mutt Command

Tags:

linux

email

mutt

I want to set two headers for mutt command. Here is what I am using.

mutt -s "Subject" -e "my_hdr From:[email protected] Content-Type: text/html" [email protected] < body.html

But it doesn't work. How can I set multiple headers with -e option?

like image 348
divinedragon Avatar asked Dec 26 '22 14:12

divinedragon


1 Answers

Use multiple -e options:

mutt -s "Subject" \
  -e "my_hdr From: [email protected]" \
  -e "my_hdr Content-Type: text/html" \
  [email protected] < body.html
like image 105
qqx Avatar answered Jan 08 '23 21:01

qqx