From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86112 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Amazon no longer recognizes attachments... Date: Wed, 19 Aug 2015 21:09:29 +0800 Message-ID: <87fv3fmnli.fsf@ericabrahamsen.net> References: <87wpwxxkly.fsf@ericabrahamsen.net> <86oai826ur.fsf@dod.no> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1439989914 1212 80.91.229.3 (19 Aug 2015 13:11:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Aug 2015 13:11:54 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34346@lists.math.uh.edu Wed Aug 19 15:11:42 2015 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZS39U-0003mO-71 for ding-account@gmane.org; Wed, 19 Aug 2015 15:11:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.85) (envelope-from ) id 1ZS38D-0007zb-CP; Wed, 19 Aug 2015 08:10:17 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1ZS38B-0007zE-Bq for ding@lists.math.uh.edu; Wed, 19 Aug 2015 08:10:15 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85) (envelope-from ) id 1ZS389-0000M7-Ff for ding@lists.math.uh.edu; Wed, 19 Aug 2015 08:10:15 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1ZS387-0006am-F5 for ding@gnus.org; Wed, 19 Aug 2015 15:10:11 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZS37Y-0002FT-Ku for ding@gnus.org; Wed, 19 Aug 2015 15:09:46 +0200 Original-Received: from 111.199.232.97 ([111.199.232.97]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Aug 2015 15:09:36 +0200 Original-Received: from eric by 111.199.232.97 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Aug 2015 15:09:36 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 74 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 111.199.232.97 User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:60V6Si4mYhEUX8EfEH6EQd4iwD8= X-Spam-Score: -0.3 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86112 Archived-At: Steinar Bang writes: >>>>>> Eric Abrahamsen : > >> I don't think Message mode has changed anything substantial recently, so >> I'm assuming it's just Amazon having adjusted how they parse incoming >> emails. > >> Has anyone else experienced this? Does anyone have any ideas on how we >> could make message attachments more "attachment-y"? > > If you know what works for sending an attachment to kindle, you could > try sending a message to yourself and examine the attachment headers of > a Gnus created message with the one that works. > > On a side note: I suggest trying out calibre for managing non-amazon > ebooks on your kindle. Huh, I may have figured this out. The problem might have been that I didn't include any text in the message body, only the attachment. With no text in the message body, Message mode produces this: Return-Path: From: Eric Abrahamsen To: Eric Abrahamsen Subject: test Date: Sun, 16 Aug 2015 17:09:19 +0800 User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/rtf Content-Disposition: attachment; filename=test.rtf X-TUID: JzwQKAkDYpEH {\rtf1\ansi\deff3\adeflang1025 ... RTF file elided ... This is only a test} \par } While Apple Mail, sending the same file, also with no body text, produces: From: someone else's address Content-Type: multipart/mixed; boundary="Apple-Mail=_B94D16E3-387D-4897-88E8-40D79B80879C" Subject: test To: girzel@kindle.com Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) --Apple-Mail=_B94D16E3-387D-4897-88E8-40D79B80879C Content-Disposition: attachment; filename=test.rtf Content-Type: text/rtf; name="test.rtf" Content-Transfer-Encoding: 7bit {\rtf1\ansi\deff3\adeflang1025 ... RTF file elided ... This is only a test} \par } --Apple-Mail=_B94D16E3-387D-4897-88E8-40D79B80879C-- If I put text in the message body, then Message mode also sets Content-Type to multipart/mixed, with the MIME boundaries, and the attachment is recognized. I don't know what the "correct" thing to do is, but at least it looks like I'm able to work around this pretty easily! Hope this is somehow, at some time, useful to someone. Eric