Free Support Forum - aspose.com

How to change MapiNote creation date?

Hello,

I’m trying to create a MapiNote with a custom “creation date” using the following code but it isn’t working:

MapiNote note = new MapiNote();
note.setSubject(“test subject”);

SimpleDateFormat dateFormat = new SimpleDateFormat(“dd-MM-yyyy HH:mm:ss”);
dateFormat.setTimeZone(TimeZone.getDefault());
Date dt = dateFormat.parse(“08-10-2020 10:30:00”);
note.setCreationDate(dt);

Can you tell me what’s wrong with it?

Thanks

@kelberuc

It seems to be an issue and we need to investigate this on our end. A ticket with ID EMAILJAVA-34747 has been created to further investigate this on our end. We will share feedback with you as soon as the issue will be fixed.