<h1>BodyParts</h1> Splits the body of replied email messages into the actual new message and the included reply chain.
h2. Usage
BodyParts.find_reply_in( valid raw email string, TMail or Mail object)
h2. Example
Given that you have the following raw email:
<pre>
<code>
MIME-Version: 1.0
Received: by 10.231.176.6 with HTTP; Tue, 22 Jun 2010 10:37:09 -0700 (PDT)
In-Reply-To: <[email protected]>
References: <[email protected]>
Date: Tue, 22 Jun 2010 10:37:09 -0700
Delivered-To: [email protected]
Message-ID: <[email protected]>
Subject: Re: how is babby formed?
From: Max Ogden <[email protected]>
To: Max Ogden <[email protected]>
Content-Type: multipart/alternative; boundary=0016361e87c2efdb680489a1de8e
--0016361e87c2efdb680489a1de8e
Content-Type: text/plain; charset=ISO-8859-1
i saw on the news this mroing
On Tue, Jun 22, 2010 at 10:36 AM, Max Ogden <[email protected]> wrote:
> how girl get pragnent?
--0016361e87c2efdb680489a1de8e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
i saw on the news this mroing<br><br><div class=3D"gmail_quote">On Tue, Jun=
22, 2010 at 10:36 AM, Max Ogden <span dir=3D"ltr"><<a href=3D"mailto:mo=
[email protected]">[email protected]</a>></span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex;">
how girl get pragnent?
</blockquote></div><br>
--0016361e87c2efdb680489a1de8e--
</code>
</pre>
h2. Copyright
Copyright © 2010 Max Ogden. See LICENSE for details.