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

Make email body processing easier #567

Closed
baudehlo opened this issue May 5, 2014 · 6 comments
Closed

Make email body processing easier #567

baudehlo opened this issue May 5, 2014 · 6 comments

Comments

@baudehlo
Copy link
Collaborator

baudehlo commented May 5, 2014

Everyone seems to stumble when processing mail body text with Haraka.

The problem is Haraka presents a raw version of the MIME structure tree to the developer. Most people just want the visible text and/or html part, not mess around with the tree structure.

We should have a library (or function) that makes it easier to traverse the body parts and extract the required information.

@soundslocke
Copy link

This would be great. It's definitely something I stumbled around with for a while.

@adamramadhan
Copy link

this is an good idea, is it always in the first tree?

@msimerson
Copy link
Member

@baudehlo , "add get_body_html() and get_body_text() functions"

@KingNoosh
Copy link
Member

Is this still wanted? If so I can take a look at this!

@msimerson
Copy link
Member

Yes, else we'd have closed the issue. :)

@msimerson
Copy link
Member

moved to wiki/TODO

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

5 participants