I was trying to figure out how to access my folders with a Python program (see this SO answer.) When I ran this:
outlook = win32com.client.Dispatch("Outlook.Application")
namespace = outlook.GetNamespace("MAPI")
for i in range(50):
try:print(i,namespace.GetDefaultFolder(i).Name)
except:pass
The above program revealed or created some folders that I cannot figure out how to delete, such as:
Reminders
the file so that changes to the file will be reflected in your item.
RSS Subscriptions
In addition to being unable to delete these folders, I still haven't actually found the folders I'm looking for programmatically. In Outlook, I have folders that I have created that are at the same level as Inbox, Sent Items, etc... but I don't know how to access the parent folder of these.
My folder structure:
- ▼ My email address
- Inbox
- Drafts
- Sent Items
- ...
- Folder I want to find
- ...
- the file so that changes to the file will be reflected in your item.
- Reminders
- RSS Subscriptions
- Search Folders