开发者

How to parse a message to only extract the body, every time?

I'm coding an email piping and I'm getting the message and everything but I'm struggling when it comes to extracting the new user reply and add it to the ticket log.

Some email clients add something like "On 2011-03-14, at 6:00 AM, Stack Overflow wrote:" before older messages other don开发者_如何转开发't... I'm completely lost.

Please help.


The text "on xxx, foo wrote" is part of the email text because the author's included that automatically and the author did not delete it. So you apparently did everything right :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜