The Sent Date is set to current time during msg save from MBOX file. In the uploaded mbox file when using the code below the printed date is right yet the datetime in the msg file is the current system time.
I can’t seem to get it fixed. A work around might be to reread the msg set the date then rewrite it out?
MboxrdStorageReader reader = new MboxrdStorageReader(new FileInputStream(MBOXfile), false);
msg = reader.readNextMessage
this may be similar to Sent Time missing in PST file
shapelib.zip (1.0 MB)