(Aspose.Email .Net 21.1.1.0)
I load a msg, change the date and save it to a new filename, but the date of the saved msg is todays date when I open it in Outlook.
Here’s my simple test code:
Dim optLoad As New Aspose.Email.MsgLoadOptions
Dim d As New Date(2021, 1, 1)
Using msg As Aspose.Email.MailMessage = Aspose.Email.MailMessage.Load(srcPath, optLoad)
msg.Date = d.ToUniversalTime
msg.Save(dstPath, optSave)
End If
End Using
Is this a bug? … or is there another date property?