How to extract View article URL from the Outlook 2007 IPM.Post.Rss item?
-
28-10-2019 - |
Question
Each Outlook 2007 RSS item (MessageClass = "IPM.Post.Rss"
) has View article... URL. How to extract that? I think I can extract that from objItem.HTMLBody
or from objItem.Body
by parsing the text. But looks like it is incorrect approach - it will not work with non-Eng versions of Outlook. Also, it will not work properly if there is another link with the same text.
Is there any other way to get this URL?
Solution
Here is the answer:
url = Item.PropertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/id/{00062041-0000-0000-C000-000000000046}/8901001F")
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow