Sicos1977 / MsgKit

A .NET library to make MSG files without the need for Outlook
199 stars 55 forks source link

Always Set Representing #106

Closed jamesjohnmcguire closed 1 year ago

jamesjohnmcguire commented 1 year ago

For Outlook, at the very least, it seems that it is necessary to set the Representing properties all the time, regardless of whether the message is being sent on behalf of someone else. Outlook seems to be expecting these fields to be present. If they are not, the From field in the folder messages lists will be blank (Note, if you pop open the message, the from fields will be filled out).

I have verified this with using OutlookSpy. All messages seem to have these properties set. An example: PR_SENT_REPRESENTING_EMAIL_ADDRESS_W PT_UNICODE noreply@mxtoolbox.com PR_SENT_REPRESENTING_NAME_W PT_UNICODE MxToolBox

Perhaps, Outlook sets these when receiving emails. In my case, I'm importing emails, using MsgKit from other sources, so need to have this set.