[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: attachment behavior
From: |
Randy Yates |
Subject: |
Re: attachment behavior |
Date: |
05 Aug 2004 16:04:29 -0400 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Military Intelligence) |
Jaakko Kangasharju <ashar@iki.fi> writes:
> Randy Yates <randy.yates@sonyericsson.com> writes:
>
> > I have successfully sent zip files and other types
> > of files for months. However, when I attach a pdf,
> > the file is corrupt (as reported by Adobe Acrobat)
> > on the receiving client. I can open the original
> > file just fine with Adobe Acrobat. This happens
> > whether attaching using the default mime type of
> > application/pdf as well as when forcing it to
> > application/octet-stream.
>
> I remember having some problems because Gnus encoded PDFs in quoted
> printable; apparently it decided they were "text enough". This then
> caused problems when the receiving end's mailer (quite properly) did
> newline conversion. The following is what I put in my .gnus.el to fix
> this:
>
> (setq mm-content-transfer-encoding-defaults
> (cons '("application/pdf" base64)
> mm-content-transfer-encoding-defaults))
>
> Gnus 5.10 (at least the one I'm using) seems to encode PDF (and most
> other stuff) as base64 by default.
Beautiful! Fixes the problem while the helpless desk takes their
normal two weeks to process a ticket! Thanks.
--
Randy Yates
Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@sonyericsson.com, 919-472-1124