Free Support Forum - aspose.com

MailMessage.Date issue in Aspose.Email

For a specific mbox file , Aspose.Email.MailMessage.Date is wrong. I have attached the mbox file.
It works fine for other mbox files.

OS: MAC 10.14.3
Aspose.Email ver : 20.8

Code:

MboxrdStorageReader MBoxSRObj = null;
FileStream fileStreamObj = null;
MailMessage mailMessageObj = null;

    fileStreamObj = new FileStream(item, FileMode.Open, FileAccess.Read);
    MBoxSRObj = new MboxrdStorageReader(fileStreamObj, false);
    iExportedMailCount = 0;
    iTotalMailCount = 0;// MBoxSRObj.GetTotalItemsCount();
    mailMessageObj = MBoxSRObj.ReadNextMessage();
    mailMessageObj.BodyEncoding = Encoding.UTF8;

TEST Main 1 msg.mbox.zip (2.1 KB)

@sangapankaj

An issue with ID EMAILNET-39914 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

The issues you have found earlier (filed as EMAILNET-39914) have been fixed in this update.