<<< Date Index >>>     <<< Thread Index >>>

Re: Sending text/html from Mutt



On Thu, Apr 14, 2005 at 03:55:21PM +0000, Joe Hansen wrote:

> Thanks for the response Toby. Can you give me an example for using a 
> send-hook to change the Content-type header?
> 
> I tried the following command, but it did not work.
> $mutt -e "send-hook . 'my_hdr Content-Type: text/html'" -s "mysubject" 
> you@xxxxxxxxxxx < message.html

[ Please stop CCing me! I'm on the list already ]

There's a patch to do this (specify content-type on the command line),
but I don't think you can do what you're suggesting with "stock" mutt.
Look in the archives...

There may be some other ways to get it to work, but really, it would
probably be better to use a perl module designed for doing this
(MIME-Tools) rather than mutt.

w