How to get Domino Archive mailbox details (Archive Profile, ArchivePath, Archive file name) using HCL C API 12

Hi HCL Team,

I am using HCL C API 12 for the archive mailbox. Below are details.

Domino version: Domino 12 , 14
Platform: Windows

What I need:

  1. Archive profile fields for this user’s mail file (Archive Profile).
  2. Archive database file name and path (what the archive DB is called on disk).
  3. Server that hosts the archive DB.
  4. Any helpful commands or code snippets to extract this info programmatically.

Thanks and Regards,

Karan


Problem/Query:

Hi team any update on this query ?

Have you tried opening mail file and then using File→Advanced Properties→Profile Documents and select the archive profile and open it to see if that has all the fields you are looking for. I assume you can google and find the proper Lotusscript or C API functions to open that profile document and then access the fields you desire. I don’t have any code snippets. Hope that helps.

In the mail database, grab the “Archive” profile, in this profile you will get these items:

  • ArchivePath; path to the archive
  • ArchiveLogDBPath: path to archive log
  • ArchiveServer: servername where the archive is located (or empty if local)