From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/4019 Path: news.gmane.org!not-for-mail From: Jaakko Kangasharju Newsgroups: gmane.emacs.gnus.user Subject: Re: attachment behavior Date: Thu, 05 Aug 2004 18:56:39 +0300 Organization: There Is No Organization Message-ID: <87pt65y3wo.fsf@ashar.iki.fi> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138670040 21479 80.91.229.2 (31 Jan 2006 01:14:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:14:00 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:33:07 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!news.tele.dk!news.tele.dk!small.news.tele.dk!tiscali!newsfeed1.ip.tiscali.net!fi.sn.net!newsfeed2.fi.sn.net!news.song.fi!not-for-mail Original-Newsgroups: gnu.emacs.gnus X-Face: $<.'cgqn3yPR[$(\>O2ri:FNd[]}jU-P{;d"aAZ5)bm{B7\CHE9E#x6AHuY5s=rI?9JC#kJ GcWhy(I.#?_5,#QM]&pPr1BxP{Xq)h7e0>EXL-^.Fswtnpc)uv>[q~rJeig' Mail-Copies-To: nobody User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:1abL0KTIdVl9p2QJH2YDQmUYJ50= Original-NNTP-Posting-Host: 0317.yhteys.mtv3.fi Original-X-Trace: 1091727633 news.yhteys.mtv3.fi 29873 62.237.23.3:33010 Original-X-Complaints-To: abuse@yhteys.mtv3.fi Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:4160 Original-Lines: 27 X-Gnus-Article-Number: 4160 Tue Jan 17 17:33:07 2006 Xref: news.gmane.org gmane.emacs.gnus.user:4019 Archived-At: Randy Yates 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!