You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2016/04/10 20:09:38 UTC

[Bug 55645] ChunkNotFoundException when trying to getRtfBody

https://bz.apache.org/bugzilla/show_bug.cgi?id=55645

--- Comment #11 from Adrian Conlon <ad...@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