Closed Mystercoco closed 3 years ago
According to Microsoft it should be a long.
And it is a long in code
/// <summary>
/// Contains a value indicating the message sender's opinion of the sensitivity of a message.
/// </summary>
public static PropertyTag PR_SENSITIVITY
{
get { return new PropertyTag(0x0036, PropertyType.PT_LONG); }
}
And a PT_LONG should be 4 bytes, a PT_DOUBLE is 8 bytes
So nothing to fix
I had an error message when adding Sensitivity property (see screenshot below), changing the code to I8 fixed it.
After investigation, it depends on the order of properties, adding the property later in the code fixes the issue as well (with original "long" type).
The property is using 4 bytes causing Outlook to crash when opening the msg file; it should be on 8 bytes instead.
A simple fix is to change the type in the file PropertyTags.cs as following (line 533)