Aspose.Email Library not saving msg file in read only Format

Hi,
We are using ASPOSE.Email to save html mail content in .msg format. In some case when we download and open the file in Outlook it is opening in Edit Mode rather then in read only.
Sample Code that we have is as below:-

MailMessage message = new MailMessage();
message.setTo(to_MailAddressCollection(outboundEmail.getTo()));
message.setHtmlBody(outboundEmail.getBody());
message.setSubject(outboundEmail.getSubject());
message.setCC(to_MailAddressCollection(outboundEmail.getCc()));
MapiMessage outlookMsg = MapiMessage.fromMailMessage(mailMessage);
outlookMsg.save(response.getOutputStream());

We are using 19.12 version. I have attached the same file that was generated for reference.
MSG_FILE_Not_In_ReadOnly_Mode.png (42.2 KB)

Help is pretty much appreciated.

With Regards,
Sai Krishna Potluri

@sai_potluri,

I request you to please try using Aspose.Email for Java 20.3 on your end. In case there is still an issue then please share the source file (if any) and generated output reproducing the issue on your end.

Appreciate your quick response. Do you think the code I have is good enough to save the file in read only mode or do I need to make any changes to the code?

@sai_potluri,

Yes, I request you to please provide a workable example that we may test on our end to reproduce the issue and along with source and generated files. This information will be required as we will be adding and resolving the issue in our issue tracking system on the basis of provided information. I will really appreciate your cooperation in this regard.