Unable to search content of PST in outlook

Hi @mudassir.fayyaz, here is the sample code I used. It also contains the expected and actual MSG files. Please let me know if you have any queries.

Aspose_Sample_2.zip (789.0 KB)

@himanshutambi,

I have observed the information shared and have associated that in our issue tracking system. We will share feedback with you as soon as the issue will be addressed.

Hi @mudassir.fayyaz, checking if you have any updates for us.

@himanshutambi,

We have investigated this on our end and need to remove PR_RTF_IN_SYNC property settings from your code.

private static MapiMessage initializePSTMapiMessage() {
    MapiMessage msg = new MapiMessage();

    MapiProperty mpAccess = new MapiProperty(MapiPropertyTag.PR_ACCESS,
            convertLong2ByteArray(DEFAULT_ACCESS_VALUE));
    MapiProperty mpAccessLevel = new MapiProperty(MapiPropertyTag.PR_ACCESS_LEVEL,
            convertLong2ByteArray(DEFAULT_ACCESS_LEVEL_VALUE));
    MapiProperty mpRtfInSync = new MapiProperty(MapiPropertyTag.PR_RTF_IN_SYNC,
            convertBoolean2ByteArray(Boolean.FALSE));

    msg.setProperty(mpAccess);
    msg.setProperty(mpAccessLevel);
//***   msg.setProperty(mpRtfInSync);

    return msg;
}