Mail Date issue


#1

We are finding that when a sent mile msg is opened in outlook 2016 the data displayed is always the current date and time and not the actual date the email was sent.
Aspose Email 18.10.0.0 VB net
Please refer to the attached screen shots29-Nov-2018 3-59-40 PM.png (28.1 KB)
29-Nov-2018 3-58-50 PM.png (39.4 KB)


#2

@Andre123

You may need to set message date to current date while sending message.
Moreover, please share MSG file and your code for further investigation.


#3

Thanks for your reply
One of the screen shot clearly shows the date of the msg eg 5/17/2018 where as the message displays in
outlook as todays date and time. I can assure you the date was set.
The code is simply thus
Select Case fileInfo.Extension.ToUpper
Case “.EML”
Try
Dim Msg As Aspose.Email.MailMessage = Aspose.Email.MailMessage.Load(EmailHistoryGridEX.CAposeSaved Message.zip (25.8 KB)
urrentRow.Cells(“AttachmentPath”).Value.ToString)
Dim temp As String = My.Computer.FileSystem.CombinePath(VADataCacheClass.VaTempStorage, GetGUID & “.msg”)
Msg.Save(temp, Aspose.Email.SaveOptions.DefaultMsgUnicode)
Process.Start(temp)
Catch ex As Exception…

Sorry the attachment seem s to have inserted itself in the middle of my text


#4

@Andre123

We are sorry for inconvenience.
We have received two files and both have different dates. We found that none of the file is showing current date time. Our understanding is that after saving “Original.eml”, the date of resulting “AposeSaved Message.msg” should be sent date time not the current date time. When we open it with Outlook it is not showing current date time. So kindly help us understand this issue and correct us what we have missed.