Hello,
I’ve an email stored as .msg. This email is not sent, so when the .msg file is opened, the user can change the content of the mail. I want to forbid this.
Here is the code I tried:
Dim mapiMsg As MapiMessage = MapiMessage.FromMailMessage( “test3.msg”)
mapiMsg.SetMessageFlags(MapiMessageFlags.MSGFLAG_UNMODIFIED)
'Dim ms As MemoryStream = New MemoryStream()
mapiMsg.Save(“test3.msg”)
then i open the test3.msg is non editable as like send item. But one problem is no date display it show none
image.png (2.3 KB)