Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not detecting quoted content in emails coming from Mail.app #43

Open
jdpopkin opened this issue Oct 6, 2015 · 2 comments
Open

Not detecting quoted content in emails coming from Mail.app #43

jdpopkin opened this issue Oct 6, 2015 · 2 comments

Comments

@jdpopkin
Copy link

jdpopkin commented Oct 6, 2015

See jdpopkin@bf9d5ce for an example of this.

@jdpopkin
Copy link
Author

jdpopkin commented Oct 6, 2015

It looks like Mail.app adds an extra > before the "On... [name] wrote:" line. This is an excerpt from the email source:

No, it=E2=80=99s just our mail being slow.
> On Oct 6, 2015, at 10:47, Dmitriy Likhten <[email protected]> =
wrote:
>=20
> let me know what happens! :)
>=20
> =E2=80=94
> Reply to this email directly or view it on GitHub =
<https://github.com/jdpopkin/email_reply_parser/commit/bf9d5ce00f52f9096ac=
f87a60f3ed6134338f03e#commitcomment-13616669>.
>=20

@jdpopkin
Copy link
Author

jdpopkin commented Oct 6, 2015

Actually, the real problem might be the second and third lines from the bottom there - Apple Mail has formatted this URL and broken it up over multiple lines. But it hasn't added a > at the beginning of these lines. So email_reply_parser thinks that those lines are unquoted, and that the previous quoted section is an interleaved quote that shouldn't be hidden.

That sounds fixable, but messy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant