MailMessage.MessageId has new value for each run

TestMail.zip (974.5 KB)

The following code gives a new value for each run for the property mailMessage.MessageId. Is this an error?

Aspose.Email.MailMessage mailMessage = Aspose.Email.MailMessage.Load(@“C:\Temp\TestMail.msg”, new Aspose.Email.MsgLoadOptions());

Aspose.Email.Mapi.MapiMessage mapiMessage = Aspose.Email.Mapi.MapiMessage.FromFile(@“C:\Temp\TestMail.msg”);

string internetMessageId = mapiMessage.InternetMessageId; //This property is always null, which is expected.

string messageID = mailMessage.MessageId; //This property has a new value for each run of the code - why? The expected value is null (same value as mapiMessage.InternetMessageId)

@jwc.vestconsult.dk,

I have observed the issue shared by you and an issue with ID EMAILNET-39612 has been created in our issue tracking system to further investigate the issue on our end. This thread has been linked with the issue so that you may be notified once the issue will be fixed.