[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pdf attachments in mutt unreadable by windows



On Mon, Aug 05, 2002 at 01:15:40PM -0400, Jason McCarty wrote:
> Richard,
> 
> I've had this problem before. Use control-T and control-E to edit the
> content-type and the encoding for the pdf attachment. They should be
> application/pdf and base64, respectively. I'm sure this is configurable,
> but I haven't bothered figuring out how, especially since Mutt 1.4.0
> does this automatically. I think mutt chooses text/plain by default,
> which probably makes windows insert linefeeds for each carriage return
> (or is it the other way around?), thus corrupting your data.

Mutt uses /etc/mime.types and ~/.mime.types.  You should have something
like: 

application/pdf					pdf

Mutt also makes use of mailcap settings for viewing/launching helpers...

AFAIK, mutt tries to guess if the file is binary or not when it doesn't
know the type, course this doesn't work well with PDF or PostScript
which may be a mixture.  Both specs allow \r, \r\n, or \n for line
terminators...

-- 
Eric G. Miller <egm2@jps.net>



Reply to: