Hello,
I’m trying to list tasks subject from a folder using the following code below:
MessageInfoCollection messageInfoCollection1 = sourceFolder1.getContents();
for (int i = 0; i < messageInfoCollection1.size(); i++)
{
MessageInfo messageInfo1 = (MessageInfo) messageInfoCollection1.get_Item(i);
MapiMessage message = pst.extractMessage(messageInfo1);
MapiTask task = (MapiTask) message.toMapiMessageItem();
System.out.println(task.getSubject());
}
The output of the above code is something like this:
Delete unused files 2021-02-11T19:02:11Z
Test task 1 2021-02-11T19:02:13Z
My question is: Why the library is showing this date at the end? How can I do to avoid this?
Thanks