MsgConvertPreferAddressesFromInternetHeaders Property |
Namespace: MailBee.Outlook
.MSG messages store sender and recipients in two places - Internet headers and separate properties. Usually, they match. Sometimes, they don't. If you need a specific set of these values, you can change this property value to false. In this case MailBee will overwite From/To/CC/BCC values obtained from Internet headers with their versions from separate .MSG properties (if they are available).
If the .MSG message doesn't have Internet headers at all (i.e. it's a draft which has never been sent), it won't have Internet headers anyway and From/To/CC/BCC will be obtained from their designated properties only. The value of PreferAddressesFromInternetHeaders property won't matter in this case.
The same way, if the .MSG message does have Internet headers but doesn't have From/To/CC/BCC in separate properties, only values from Internet headers will be used regardless of PreferAddressesFromInternetHeaders property value. Shortly speaking, this property has effect only if both Internet headers and separate properties exist in the message so there is an ambiguity which one to use.