Is it possible to have Mutt set the Content-Type from the command line? I have a colleague who would like to send an HTML message within a script. For example, you can do this and it works: --- bryan@whirlwind:~/linux$ echo "From: me@xxxxxxxxx Subject: something To: me@xxxxxxxxx Content-Type: text/html; charset=iso-8859-1 testing" | /usr/sbin/sendmail -t --- But, if you try this, it doesn't (the message just comes as plain text): --- bryan@whirlwind:~/linux$ echo "From: me@xxxxxxxxx Subject: something To: me@xxxxxxxxx Content-Type: text/html; charset=iso-8859-1 testing" | mutt -H /dev/stdin --- I have successfully used the -a switch to attach an html file, which creates a multipart/mixed message with an html part. But this isn't quite on target. I have a notion that I could use the -e switch to send a configuration command (a send_hook?) but I haven't found any documentation on the syntax of this switch. Any help would be greatly appreciated. Bryan
Attachment:
pgpXqQVR7GvLz.pgp
Description: PGP signature