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

mutt take text/html attachment as text/plain



Hello all,

I need send mail in non-interactive (batch) mode. Body of the mail is
produced by other program as html file with name without suffix
(eg. filename "txt"). When I sent mail as

mutt -n -F my_muttrc -a txt -a other_attachment .... </dev/null

then body appears in mail as attachment "Content-Type: text/plain:",
not as I need "text/html". Are there any ways to correct this?
(without copying file to file with ".html" suffix - then it work OK)
Command "file txt" determine properly "txt: HTML document text", but
uses mutt to determine file type other mechanisms than mime.types"?

Many thanks, Frantisek Hanzlik