Steve Tomalin
Member
- Outlook version
- Outlook 2016 32 bit
- Email Account
- Outlook.com (as MS Exchange)
Hi All,
I'm having a problem accessing a particular pair of properties from within .MSG files. The properties are:
Name: ImageNaturalHeight
Tag: 0x80010003
Name: ImageNaturalWidth
Tag: 0x80020003
I'm actually using PowerShell in this case, to access the properties within exported .MSG files, but I am guessing the principals are pretty much the same, whether using VBA on messages within Outlook or PowerShell with .MSG files. The PowerShell script in question is successfully accessing other properties within the .MSG files, it's just the above properties that are proving to be difficult. These properties definitely exist within the test files I am using, because I case see the property values within the files, using a freeware product called MFCMapi, which enables me to inspect the properties within the .MSG files. Here is an example:
I'm using the .PropertyAccessor object, passing the Tag ID to get the property values out of the .MSG files. When I attempt to extract the values for either of these two tags, I get this type of error message:
The property "http://schemas.microsoft.com/mapi/proptag/0x80010003" is unknown or cannot be found.
Can anyone advise me as to why I can get the value of other properties within the .MSG files without any issue, but these two values produce this error?
Any assistance anyone could offer on this would be most gratefully received.
Kind regards,
Steve
I'm having a problem accessing a particular pair of properties from within .MSG files. The properties are:
Name: ImageNaturalHeight
Tag: 0x80010003
Name: ImageNaturalWidth
Tag: 0x80020003
I'm actually using PowerShell in this case, to access the properties within exported .MSG files, but I am guessing the principals are pretty much the same, whether using VBA on messages within Outlook or PowerShell with .MSG files. The PowerShell script in question is successfully accessing other properties within the .MSG files, it's just the above properties that are proving to be difficult. These properties definitely exist within the test files I am using, because I case see the property values within the files, using a freeware product called MFCMapi, which enables me to inspect the properties within the .MSG files. Here is an example:
I'm using the .PropertyAccessor object, passing the Tag ID to get the property values out of the .MSG files. When I attempt to extract the values for either of these two tags, I get this type of error message:
The property "http://schemas.microsoft.com/mapi/proptag/0x80010003" is unknown or cannot be found.
Can anyone advise me as to why I can get the value of other properties within the .MSG files without any issue, but these two values produce this error?
Any assistance anyone could offer on this would be most gratefully received.
Kind regards,
Steve