Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: attachment behavior
       [not found] <xxpy8kt398h.fsf@usrts005.corpusers.net>
@ 2004-08-05 15:56 ` Jaakko Kangasharju
  0 siblings, 0 replies; only message in thread
From: Jaakko Kangasharju @ 2004-08-05 15:56 UTC (permalink / raw)


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.

-- 
Jaakko Kangasharju
Kokoo kokoon koko kokko! Koko kokkoko? Koko kokko!


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-08-05 15:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <xxpy8kt398h.fsf@usrts005.corpusers.net>
2004-08-05 15:56 ` attachment behavior Jaakko Kangasharju

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).