Folder events

  • Thread starter Thread starter manzoor
  • Start date Start date
M

manzoor

How do I manage folder events? Like I want to do something when a folder is
added in mail folders? What classes and events may I use?

I'm able to get the events when a subfolder is created. But I want to get
events when a folder is added not a subfolder.
 
There is a Folders.FolderAdd() event you can subscribe to. For that to work
you need to get an object for each Folders collection you want to monitor.
So for Inbox, you'd get Inbox.Folders and subscribe to the event there.
You'd need to do that for every Folders collection you want to monitor.
 
Back
Top