We are trying to preserve the Original dates of attachments inside an Email file with .eml file extension.(This is happening for all .eml files with attachments. generated from aspose.email)
But we are unable to find an option to do the same. this is causing all attachments to be saved as new files (saved with current time as created and modified dates) every time they are downloaded from .eml file (using save-as option against the attachment in Microsoft outlook)
But, We could find an option for .msg files using the below option:
MsgSaveOptions options = new MsgSaveOptions(MailMessageSaveType.OutlookMessageFormatUnicode);
Can you please help us with information how we can achieve the same for “.eml” files?
Note: We owe “Aspose.Email for Java” license and currently running on 19.2 version, we tried to find if latest version of the same library has this capability but could not find the same on 22.2 Aspose.Email
Looking forward to hear from you !
Thanks in Advance