Haraka icon indicating copy to clipboard operation
Haraka copied to clipboard

Make email body processing easier

Open baudehlo opened this issue 10 years ago • 5 comments

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.

baudehlo avatar May 05 '14 13:05 baudehlo

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

soundslocke avatar May 05 '14 19:05 soundslocke

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

adamramadhan avatar Aug 14 '14 05:08 adamramadhan

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

msimerson avatar Feb 12 '15 18:02 msimerson

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

KingNoosh avatar Sep 05 '17 20:09 KingNoosh

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

msimerson avatar Sep 05 '17 20:09 msimerson

moved to wiki/TODO

msimerson avatar Apr 28 '24 00:04 msimerson