poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 55645] ChunkNotFoundException when trying to getRtfBody
Date Sun, 10 Apr 2016 18:09:38 GMT

--- Comment #11 from Adrian Conlon <adrian.conlon@arup.com> ---
An old problem, I realise, but here's some extra information that explains the
symptoms (and why this *isn't* a POI issue):

The email message class is: IPM.Note.SMIME.MultipartSigned.  This means it's a
digitally signed email with modifications effectively disabled.

As a signed email, this means the content is held in an attachment (one of
"smime.p7m", "smime.txt" or "smime.p7s").

In this instance, the signed content is held in "smime.p7m" (which is pretty
much the most common place).

The content is of this attachment is mime encoded.  Look for the
"multipart/alternative" set, then pick out which part is best suited to your
needs (I usually just pick out the "text/plain" part for body text extraction).
Apache James Mime4j should do the trick...

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org

View raw message