G
Guest
I need to find out, where a mailitem is stored, that is the folder name
within Outlook. I need that information because I want users to execute an
action only on items from the inbox. Therefore I want to check someting like:
if mailitem.folder is Inbox do... else...
Currently, my code is generating an additional button in each opened mail
(an email that is opened with a doubleclick from within the Inbox). Clicking
this button opens a dialog and runs additional code...
Now I want to avoid this button to show up when an email is opened from lets
say a subfolder of the Inbox.
Hope you can give me hints...
within Outlook. I need that information because I want users to execute an
action only on items from the inbox. Therefore I want to check someting like:
if mailitem.folder is Inbox do... else...
Currently, my code is generating an additional button in each opened mail
(an email that is opened with a doubleclick from within the Inbox). Clicking
this button opens a dialog and runs additional code...
Now I want to avoid this button to show up when an email is opened from lets
say a subfolder of the Inbox.
Hope you can give me hints...