Hi,
Is there a possibility to read this property?
Hi Andreas,
Hi!
Hi Andi,
I have tested both the messages and have displayed the required German string using following sample code. It seems you have used wrong tag value as I got this string under tag 0x800E001E. Please give try to the following sample code using both the sample MSG files and share the feedback.
MapiMessage mapi = MapiMessage.fromFile("test erster mittwoch alle 3 monate.msg");
for (MapiProperty namedProperty : (Iterable) mapi.getProperties().getValues())
{
String hex = Integer.toHexString((int)namedProperty.getTag());
if (hex.equalsIgnoreCase(("800e001e")))
{
System.out.println(namedProperty.toString());
}
}
Thanks for your help, it works!
You are welcome.
How do you got the value? I tried to read the property of a meeting request and i do not get the right property. In MFC-Mapi it’s still 0x802E001E - see attached screenshot…
I want to read the property “reponseStatus” too. Here I have the same problems as descriped above. Screenshot of MFCMAPI attached - you can use the same sample message attached before.
Hi Andi,
You may please use following code which reads PidLidRecurrencePattern property from the MSG files. To read the PidLidResponseStatus please use 8218 in the following sample code and share the feedback.
MapiMessage mapi = MapiMessage.fromFile(path);
for MapiNamedProperty namedProperty : (Iterable)
mapi.getNamedProperties().getValues())
{
String hex = namedProperty.getNameId();
if (hex.equalsIgnoreCase(("8232")))
{
System.out.println(namedProperty.toString());
}
}