This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Mar 16, 2016, 11:45 AM
5 Posts

Read inline images present in lotus notes email using java DIIOP API

  • Category: Domino Server
  • Platform: Windows
  • Release: 9.0.1
  • Role: Developer
  • Tags: read inline images
  • Replies: 3

Hi,

I have to extract inline images from a email using java DIIOP.

I have tried to access the embedded objects present in body RichText filed. It is not present in them. 

I have tried to access the attachments to the document. It is not present in that.

I managed to get the images by extracting dxl from the document. But getting dxl is taking considerable time. It has performance impact on my application.

Is there any other approach in which I can extract the inline images from email using java DIIOP API.

Mar 16, 2016, 1:21 PM
202 Posts
Post your DXL code
maybe your code is inefficient?
Mar 16, 2016, 2:05 PM
5 Posts
my DXL code

I am using the following code to create dxl string. 

DxlExporter exporter = session.createDxlExporter();
        exporter.setConvertNotesBitmapsToGIF(true);
        String dxl = exporter.exportDxl(document);

 

It is taking around 2 seconds to return dxl string for an email having multiple inline images with total size around 20 Mb

May 25, 2016, 12:27 AM
40 Posts
DXL is not that fast
I think 2 seconds for an 20 MB mail with pics is not that slow.  I wrote an ImageFilter app in LotusScript using DXL to parse mail destined for a help desk system, which filters images so duplicates are filtered.
I looked at the log and processing a mail with 24 images (mostly small logo's clogging up the helpdesk) took around 2 secs.

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal