Lotus Note v8.5 Image and Formatted text problem

Hi,I am working on Lotus Notes 8.5. i developed an application in java which parse the lotus email by using Domino Lotus 8.5 API. i successfully parsing the emails but still facing same problem when is email contains image and formatted text.Whenever, i tried to get the email message than it doesn’t shows image but displays text without formatting (dont show color,style)…

here is my code…

RichTextItem bodyText = (RichTextItem) d.getFirstItem(“Body”)

return bodyText.geUNFormattedText();

I also used return bodyText.getFormattedText(true, 20, 0); but still face same problem…

Can i anybody help me on this problem…

Regards,

Zaghman Arshad

Subject: Sorry but these functions just get the content as text/string

The methods you mention just get the text representation of the rich text field. Rich content like images and / or attachments are stripped. You could export the item as DXL. This does include images and attachments but DXL needs further processing.

Subject: Lotus Note v8.5 Image and Formatted text problem

Thanks Heini Schwammerl…is it possible to get formatted text i.e color,font etc using DXL?..

thanks in advance

Zaghman Arshad

Subject: Well yes and No

Well DXL will give you an XML interpretation of a Notes Rich Text item. It includes most formatting like colors and font size aso. but you have to translate it to get a proper output.