Notices


Reply
Thread Tools
Posts: 1,038 | Thanked: 3,980 times | Joined on Nov 2010 @ USA
#1
Searching hasn't found me a case quite like I've run into.

My N9 somehow has started to fail to get attachments in emails from one particular sender. Every week, she sends a newsletter in pdf format. I get the email body, but the attachment is missing. My wife gets the same email, but she gets the attachment intact. If she forwards me the email she received, the attachment is there.

I get another pdf weekly newsletter from another sender using the same domain, same email system. Those attachments appear for me just fine. I get attachments sent by everyone else -- as far as I know.

When I get home and download my emails on my PC, I get the missing attachment (in KMail, no less). I can even forward that email back to myself (same account) and then see the attachment on my phone in Fenix. Wrong, wrong, I can't forward it to me.

The incoming mail is plain old POP3.

Anyone got an idea? Obviously, it's work-aroundable, but I'd really like to know what gives.

Last edited by HtheB; 2015-10-01 at 20:39.
 
peterleinchen's Avatar
Posts: 4,117 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#2
Now as you say I remember same happening to me (a few times).
I could not nail it down to any sender, mail provider or system.
I have the iDevice in suspicion but...

And onemore prob I have is that for one specific account all sent mails go out but I get a error that sending failed and the mail vanishes. But it is sent and received. Only annoying I cannot track it.
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following User Says Thank You to peterleinchen For This Useful Post:
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#3
Have you tried checking out the offending emails' source? Perhaps you might even post it here, antonymized, ofc.
 

The Following User Says Thank You to pichlo For This Useful Post:
peterleinchen's Avatar
Posts: 4,117 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#4
source was someaccount @ a german mail provider (via iPhone), sink was another german mail provider (IMAP)

Especially strange was that also the N900 (modest) was not able to show the attachment but at least told me about an attachment in te overview.
But on big gun (or web) it was there.


--
Originally Posted by pichlo View Post
antonymized
?
did you mean atomized?
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature

Last edited by peterleinchen; 2015-09-26 at 18:03. Reason: removed some privacy
 
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#5
Sorry, I meant the email source code. All the headers, boundary lines etc. Anonymized as in stripped of any personal info.
 

The Following User Says Thank You to pichlo For This Useful Post:
Posts: 1,038 | Thanked: 3,980 times | Joined on Nov 2010 @ USA
#6
I'm looking at the email source on my PC, and there are differences between sender whose pdf attachments do come through on N9 and hers who don't.

When looking at the breaks between text/html/attachments, the 'good' messages separates section with '------=_Part_ . . .' and the bad has '----boundary_ . . . '

Also, the good one has a field called 'Content-Disposition'. Bad does not.

I'll see what I can do anonymizing the source, but I realize I'm pretty naive about smtp.

And both senders are probably using some form of Apple product, this being a school setting which has been Apple-centric in much of the US even before the Mac arrived.
 

The Following 2 Users Say Thank You to robthebold For This Useful Post:
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#7
Just edit the source as text, replace anything personal (email addresses, names) with xxxx and attach it here.
 

The Following User Says Thank You to pichlo For This Useful Post:
Posts: 1,038 | Thanked: 3,980 times | Joined on Nov 2010 @ USA
#8
Ok, let's start with the "bad" message.

Code:
MIME-Version: 1.0
From: xxx@xxx
To: mmm@mmm
Reply-To: xxx@xxx
Date: 25 Sep 2015 14:23:23 -0500
Subject: Friday Newsletter/Important Information
Content-Type: multipart/mixed;
 boundary=--boundary_82890_a600334b-37a8-418d-9e54-7ea08262f178
Message-ID: <ICWEB15hkDp8ES092Da000036ae@xxx.xxx.xxx>
X-OriginalArrivalTime: 25 Sep 2015 19:23:23.0483 (UTC) FILETIME=[A522FAB0:01D0F7C7]
X-Gm-Spam: 0
X-Gm-Phishy: 0
X-Bayes-Prob: 0.0001 (Score 0, tokens from: mmm@mmm, CS_DEFAULT, default, @@RPTN)
X-Spam-Score: undef - spam scanning disabled
X-CanIt-Geo: No geolocation information available for 10.144.194.218
X-CanItPRO-Stream: Outbound (inherits from default)
X-Canit-Stats-ID: Bayes signature not available
X-Scanned-By: CanIt (https:// zzz) on zzz.zzz.zzz.zzz
X-Scanned-By: CanIt (https:// zzz) on zzz.zzz.zzz.zzz
X-Nonspam: None


----boundary_82890_a600334b-37a8-418d-9e54-7ea08262f178
Content-Type: multipart/alternative; boundary=--boundary_82889_93f6af70-22f7-415b-8ac2-0c1d29607a44


----boundary_82889_93f6af70-22f7-415b-8ac2-0c1d29607a44
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

  . . . HTML message body . . . .

----boundary_82889_93f6af70-22f7-415b-8ac2-0c1d29607a44
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

  . . . HTML message body . . . 

----boundary_82889_93f6af70-22f7-415b-8ac2-0c1d29607a44--

----boundary_82890_a600334b-37a8-418d-9e54-7ea08262f178
Content-Type: multipart/mixed; boundary=--boundary_82891_eb9a889c-26c2-4bd5-b777-c78674cb8cb6


----boundary_82891_eb9a889c-26c2-4bd5-b777-c78674cb8cb6
Content-Type: image/jpeg; name=picture.jpg
Content-Transfer-Encoding: base64

 . . . huge block of base64 encoded jpeg data . . .
----boundary_82891_eb9a889c-26c2-4bd5-b777-c78674cb8cb6
Content-Type: application/pdf; name="document.pdf"
Content-Transfer-Encoding: base64

 . . . huge block of base64 encoded pdf data . . . 
----boundary_82891_eb9a889c-26c2-4bd5-b777-c78674cb8cb6
Content-Type: application/pdf; name="newsletter.pdf"
Content-Transfer-Encoding: base64

 . . . another huge block of base64 encoded pdf data . . . 
----boundary_82891_eb9a889c-26c2-4bd5-b777-c78674cb8cb6--

----boundary_82890_a600334b-37a8-418d-9e54-7ea08262f178--
And a "good" message from a different sender at the same domain:

Code:
Date: Wed, 09 Sep 2015 16:25:22 -0700
From: yyy <yyy@yyy>
Reply-To: yyy <yyy@yyy>
To:  <rmmm@mmm>
Message-ID: <1971145322.18564995.1441841122592.JavaMail.root@yyy>
Subject: YYY Newsletter
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_18564994_1740978702.1441841122591"
List-Unsubscribe: <https://xxx.xxx.xxx/unsubscribeemail.php?s=ci5icnVjZUBjb21wdXRlci5vcmc&auto>
X-Gm-Spam: 0
X-Gm-Phishy: 0
X-Bayes-Prob: 0.0001 (Score 0, tokens from: mmm@mmm, CS_DEFAULT, default, @@RPTN)
X-Spam-Score: undef - spam scanning disabled
X-CanIt-Geo: No geolocation information available for 10.144.194.218
X-CanItPRO-Stream: Outbound (inherits from default)
X-Canit-Stats-ID: Bayes signature not available
X-Scanned-By: CanIt (https:// mmm) on mmm.mmm.mmm.mmm
X-Scanned-By: CanIt (https:// mmm) on mmm.mmm.mmm.mmm
X-Nonspam: None


------=_Part_18564994_1740978702.1441841122591
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

 . . . HTML formatted message . . . 

------=_Part_18564994_1740978702.1441841122591
Content-Type: application/pdf; 
	name=Newsletter.pdf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; 
	filename="Newsletter.pdf"

 . . .  base64 encoded pdf data . . . 
------=_Part_18564994_1740978702.1441841122591--
(I did leave out all the routing and forwarding history at the top)
 

The Following User Says Thank You to robthebold For This Useful Post:
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#9
Excellent, exactly what I needed.

OK, let's start with the "good" message (because it is simpler, no other reason). It has two parts: an HTML text and one attachment. Simple.

The "bad" message has also two parts, but each of them is nested. The first part has two sub-parts, the text in plain text and in HTML. (Does your phone show the text? And if so, in what format?) The second part is also nested, with three attachments: one JPEG and two PDFs. There is nothing inherently wrong with that format, a semi-decent email client should be able to process it. It looks like a bug the N9's client.

For completeness, it might be interesting to see the email after being forwarded by your wife. You say your phone can read that correctly, maybe her email client reformats it before sending to a form your phone can understand.
 

The Following 3 Users Say Thank You to pichlo For This Useful Post:
peterleinchen's Avatar
Posts: 4,117 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#10
@pichlo
Excellent!
Exactly what I did not see and did not know.

I had that
Content-Disposition: inline;
under suspicion but "nested parts" I did not see.
Thanks.

Now to the question how to solve?
At least for the N900 I see the chance via CSSU...
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following User Says Thank You to peterleinchen For This Useful Post:
Reply

Tags
attachments, email, fenix, fremantle, harmattan, modest

Thread Tools

 
Forum Jump


All times are GMT. The time now is 06:07.