Get list of OOO enabled mail files

Hi,

Can I see the list of mail files on the Domino server whose OOO is enabled? like from a web service? Or what’s the best way to get that list from an external program?

Thanks.

Subject: Admin Client

Scroll to the right in the files section and almost at the end there is a column that says “yes” if OOO is enabled.

Use the “All” view and sort by this column to get a complete list of all OOO’s running regardless of the subdirectory

Subject: Programmatically - How to?

Hi Harald, Thanks for your response. I know that the list is available in the Admin client. But I need to get that list for an external application (non-Notes). How do I get that through code?

Subject: COM or Data export

If your external application is one you have the source code for, you may integrate iterate through the Mail files using COM.

If your app is able to process CSV files, write an agent iterating through the mail files and check if the OOO-Agent is enabled and export the appropriate data.

Core methods you need:

NotesDatabase.GetAgent

NotesAgent.IsEnabled

Subject: Thanks.

Thanks Christian for your response. But running the Agent at runtime and looping through 1000s of mail files doesn’t seem to be optimum. I wish there should be a better option to get the list.

Subject: You may check log.nsf for agent activity, but it’s more complicated to extract the data

Subject: For OOO service - two optioins

This answer is for OOO service 1. there is a console command ‘tell router o’

  1. starting with 8.5.2 there is a set of ‘c’ callable APIs that query and manipulate OOO service

For OOO agent, you would need to examine enabled agents and look for OOO agent.