[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mutt-users
Subject:    Re: mutt take text/html attachment as text/plain
From:       Frantisek Hanzlik <franta () hanzlici ! cz>
Date:       2007-03-26 11:12:47
Message-ID: 4607AAAF.3010005 () hanzlici ! cz
[Download RAW message or body]

Christoph, thank for Your response.

In this case Mutt script hasn't permission to rename attachment files,
but, as You recommended, symlink at them will be sufficient solution.

I wasn't sure if development mutt version can do this directly (I use
stable 1.4.2.2/Linux version).

Thanks, Franta Hanzlik

Christoph Berg wrote:
> Re: Frantisek Hanzlik 2007-03-26 <46076C23.9060001@hanzlici.cz>
>> 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"?
> 
> Mutt uses mime.types, so the easiest way is to rename/copy/symlink the
> file before attaching. You could also try playing with the
> edit-content-type functions, but it seems that this is a lot harder to
> get right.
> 
> Christoph
> 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic