Adding attachment icon and Has attachment property by default for mails

I am creating one PST file and adding one mail in that using the below code:

PersonalStorage PersonalStorageObj = null;
FolderInfo FolderInfoObj;
MailMessage mailmessageObj = null;
MapiMessage mapimessageObj = null;
FolderInfo folderInfoObj = null;
private MapiProperty mapiPropertyObj;
PersonalStorageObj = PersonalStorage.Create(@“c:\temp\test.pst”, FileFormatVersion.Unicode);
folderInfoObj = createAsposeFolder(“Test”);
mailmessageObj = new MailMessage();
mailmessageObj.Subject = “Test Mail”;
mailmessageObj.Body = “TEST”;
MailAddress Fromaddress = new Aspose.Email.MailAddress(“test@gmail.com”, true);
Fromaddress.DisplayName = “Test”;
mailmessageObj.From = Fromaddress;
mapimessageObj = MapiMessage.FromMailMessage(mailmessageObj,
MapiConversionOptions.UnicodeFormat);
MapiProperty ClientSubmitTime = new
MapiProperty(MapiPropertyTag.PR_CLIENT_SUBMIT_TIME,
convertDateTime(DateTime.Today));
mapimessageObj.SetProperty(ClientSubmitTime);
ClientSubmitTime = null;
MapiProperty ReceivedDateTime = new
MapiProperty(MapiPropertyTag.PR_MESSAGE_DELIVERY_TIME,
convertDateTime(DateTime.Today));
mapimessageObj.SetProperty(ReceivedDateTime);
ReceivedDateTime = null;
mapimessageObj.SetMessageFlags(~MapiMessageFlags.MSGFLAG_UNSENT);
folderInfoObj.AddMessage(mapimessageObj);
return true;

It is adding attachment icon and Has attachment property by default.

1.PNG (4.3 KB)
2.PNG (86.3 KB)

@Shital_diwate,

This issue is reproduced and logged under Id:EMAILNET-38951 for further investigation. We will analyze it on its turn and write back here once feedback is ready to share.