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

No extraction of forwarded part #74

Open
defkev opened this issue Jan 28, 2016 · 3 comments
Open

No extraction of forwarded part #74

defkev opened this issue Jan 28, 2016 · 3 comments

Comments

@defkev
Copy link
Contributor

defkev commented Jan 28, 2016

If i get the code right it is intended that

reply = quotations.extract_from_plain(body)

does not extract forwarded messages?

So something like:

test

----- Forwarded Message -----
From: "test" test@example.com
Sent: Thursday, January 28, 2016 4:31:32 PM
Subject: test

testmail

will be ignored and returned as is/a part of reply?

Would it be possible to extract forwarded messages just like replies?

So either chop the forwarded part with quotations.extract_from_...(body) or a dedicated function to run against the body if reply equals body?

@obukhov-sergey
Copy link
Member

Hi, @defkev I would add a dedicated function for that. Thanks for the idea

@phanindraramesh
Copy link

Hi,
Is this feature implemented? If yes, what is the new method to extract forwarded part?

@obukhov-sergey
Copy link
Member

@phanindraramesh not implemented yet, PRs are welcomed :)

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

No branches or pull requests

3 participants