divinedragon
divinedragon

Reputation: 5346

Multiple Headers for Mutt Command

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?

Upvotes: 6

Views: 5618

Answers (1)

qqx
qqx

Reputation: 19475

Use multiple -e options:

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

Upvotes: 12

Related Questions