Getting messageID from email in Outlook VBA 2003

我们两清 提交于 2019-12-19 09:24:31

问题


Is there a easy way to get the current shown (preferably selected) message-ID via VBA ? without having to buy Redemption or some other package..

I need to message ID so I can make a link to a web-application that reads the mail and does some other stuff with it

Can't seem to use MAPI or PropertyAccessor in outlook 2003..


回答1:


Do you mean the unique ID for the message? Try the EntryID Property:

ActiveExplorer.Selection.Item(1).EntryID

FYI PropertyAccessor was added in Outlook 2007, you wouldn't see it in 2003.



来源:https://stackoverflow.com/questions/7710191/getting-messageid-from-email-in-outlook-vba-2003

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!