Yes! You are right! I checked the sources of two test emails I sent, one
with
attachment shared from WPS and one from File Explorer. I found that in the
"attachment parts" of the sources, their Content-Transfer-Encoding are
different!
The Content-Transfer-Encoding of the correctly sent attachment is base64,
and
the other one is 8bit, which is the same as the Content-Transfer-Encoding of
the "message parts" of the emails.

Is that the reason why the pdfs cannot be correctly sent? So it's WPS's
fault?

On Sun, Aug 30, 2015 at 10:46 PM, Richard <
[email protected]> wrote:

> I'm going to suspect that WPS doesn't do the multi-part headers
> quite right when trying to attach the pdf to a K-9 message. You
> could look at the raw version of messages where you attach using WPS
> vs. FileExplorer vs the "sent" mail. My bet, given that "sent" is
> ok, is  that there's a problem with the "Content-Transfer-Encoding"
> part with WPS as that matters when the message goes out through a
> mail server while not as much for on-device "sent" mail.
>
>
> > Date: Saturday, August 29, 2015 10:47:46 -0700
> > From: Junnan Zhang <[email protected]>
> >
> > I'm sorry for not making it clear. WPS is a pdf/word viewer app,
> > which can  be downloaded from Play Store.
> >
> > I tried to view those pdfs in "sent" folder and succeeded. But in
> > the inbox  of the email I sent to, they cannot be opened
> > correctly. However, if I add  attachments in K-9 directly from
> > file explorer, there is no problem. So I think it is a  issue
> > related  to sharing pdfs from WPS to K-9.
> >
> > On Thursday, August 27, 2015 at 1:53:47 AM UTC+8, Richard wrote:
> >>
> >>
> >> > Date: Wednesday, August 26, 2015 03:14:12 -0700
> >> > From: Junnan Zhang <[email protected] <javascript:>>
> >> >
> >> > Hello everyone, my phone is Samsung S6 Edge, Android 5.0.2,
> >> > rooted. I find  that K-9 mail cannot correctly send pdf files
> >> > shared from WPS. It seems all  right when composing, but the
> >> > pdf  attachments cannot be opened (maybe  impaired I think) in
> >> > the  inbox. I tried other email clients (like bluemail)  with
> >> > no  problem. So I believe it is related to K-9. Does anybody
> >> > know the  reason?
> >>
> >> What is "WPS" in this context? It may be something obvious, but
> >> not  to me.
> >>
> >> When you are having trouble viewing the pdfs (after sending from
> >> K-9), are you trying to view then with K-9 or some other email
> >> client, if so what?
> >>
>
> ------------ End Original Message ------------
>
>
> --
> --
> You received this message because you are subscribed to the K-9 Mail Users
> List.
> To post to this group, send email to [email protected]
> To unsubscribe, email [email protected]
> To report an issue with K-9 Mail, visit
> http://code.google.com/p/k9mail/issues/list
> For more options, visit this group at
> http://groups.google.com/group/k-9-mail
>
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "K-9 Mail" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/k-9-mail/gqhel2TTcs8/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
You received this message because you are subscribed to the K-9 Mail Users List.
To post to this group, send email to [email protected]
To unsubscribe, email [email protected]
To report an issue with K-9 Mail, visit 
http://code.google.com/p/k9mail/issues/list
For more options, visit this group at http://groups.google.com/group/k-9-mail

--- 
You received this message because you are subscribed to the Google Groups "K-9 
Mail" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to