Frage

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

mutt -s "Subject" -e "my_hdr From:abc@gmail.com Content-Type: text/html" xyz@gmail.com < body.html

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

War es hilfreich?

Lösung

Use multiple -e options:

mutt -s "Subject" \
  -e "my_hdr From: abc@gmail.com" \
  -e "my_hdr Content-Type: text/html" \
  xyz@gmail.com < body.html
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top