2

「チケット」に返信する人が gmail などのメール クライアントを使用している@message.body.decoded場合、入力したテキストではなく会話スレッド全体が表示されます。

テキストのその部分だけを抽出する方法はありますか?

4

1 に答える 1

2

通常、既存の返信は、前に>. 1 つのオプションは、その文字で始まらない行を抽出することです。

そのため、メールをプレーンテキストとして見て、それを抽出できます。次に例を示します。

--f46d0basically0a0unique0id # Marks the start of content for this email
Content-Type: text/plain; charset=ISO-8859-1

Hello foo,

This is a message.

Regards,
Bar

>
> Original response
> is quoted like this
> What in included here 
> depends on mail client
>


--f46d0basically0a0unique0id # Marks the end of content for this email
于 2012-02-17T15:10:35.050 に答える