The Code is take from the last example on the example page. When I run
the command i see the msg lenght is 25 but it run through it only
once, updates and counter and does not run through the rest of
messages. I want to extract the body irrespective of whether there is
an attachment or not.
",None
print "Body:",document
print '\n'
return document
On 10 Sep 2008, at 22:09, Kent Johnson wrote:
On Wed, Sep 10, 2008 at 4:06 PM, grishma govani
<[EMAIL PROTECTED]> wrote:
Hello Everybody,
I have been trying to extract the body
Hello Everybody,
I have been trying to extract the body of all the email messages from
an mbox file.
I have manages to separate the headers and get a string out that looks
like 1) and 2)
I would like to just extract the message and if there is only
jibberish as in the case of 1), I would ex