Results 1 to 2 of 2

Thread: Query arbitrary contact Folder

  1. #1
    Junior Member
    Join Date
    Nov 2009

    Query arbitrary contact Folder

    I want to write a small command line tool to query contact Folders.
    "E.g. give me name starting with 'fl*' from Public Folders\Contacts"
    I started with the source of the zarafa-fsck tool. The steps I have
    done are

    - Open Session
    - Open Default Store / Open Public Store
    - Iterate over Hierarchy Table
    - Read Rows
    - Read Folder Names and if i found the folder with the given Name I read the content

    So it works but this i much code only to find a folder ...
    I have no experience with mapi and so i want to ask if there are some utility functions to query a
    specific folder with his name?
    Something like

    Second question - is there a docu about the c++ (zarafa) mapi API At this point
    all i do is trial and error - so its sometimes frustrating.

    Thanks for your help

  2. #2
    Zarafa Developer

    Join Date
    May 2006

    Re: Query arbitrary contact Folder

    Have a look around in common/CommonUtil.h for useful functions we already wrote. I think you might like these two:
    Documentation on these functions has just started, but looking at the function, and grepping through the source for examples should give the idea on how to use them.

    MAPI is a microsoft API, so all documentation can be found on the MSDN webpages:
    If it isn't reproducable, it's not a bug.
    If it is reproducable, it's meant to be that way.

Similar Threads

  1. Copying contact with drag and drop to other folder
    By graufl in forum WebAccess usage Archives
    Replies: 1
    Last Post: 02-01-2011, 07:51 AM
  2. Public Contact Folder and LDAP
    By jeff42 in forum Administration and Integration Archives
    Replies: 0
    Last Post: 20-08-2010, 10:45 AM
  3. contact folder LDAP access
    By malloc100 in forum Installation and Configuration Archives
    Replies: 1
    Last Post: 14-08-2010, 02:50 PM
  4. csv2contacts - How to import into arbitrary public folder ?
    By beislhur in forum PHP Development Archives
    Replies: 0
    Last Post: 08-10-2009, 10:43 AM
  5. Search in Contact Folder
    By mwmail in forum WebAccess usage Archives
    Replies: 3
    Last Post: 04-09-2009, 02:44 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts