IceWarp Merak Mail Server For Windows (2008/Vista/2003/2K/XP)
Copyright (c) 1999-2008 IceWarp Ltd. All rights reserved.

IceWarp Server API
==================


General
-------

The IceWarp Merak Mail Server API is an application programming interface for developers who wish to maintain basic 
tasks with the mail server objects. These tasks can be maintaining domains, accounts and other global server
settings.

The API can be used in several different ways. The COM object, RPC or the direct API library linking.
Once installed the mail server the API COM object gets registered automatically and can be used immediately.

It is recommended for developers to use the COM object which is the easiest way to get started.
For platform independent usage and remote calls use the RPC. See more information in the classes.txt file.

Also you might want to take a look at sources and examples in the API folders.

\delphi - Delphi sources, Users and Domains command line tools
\c - Example for calling API from C
\vb - Visual Basic

For the complete list of properties / constants see the \delphi\apiconst.pas file.

Some of the other programming language directories might be obsolete and contain old information. 
If you are looking for something specific always see the \delphi directory and update your 
files accordingly. 


apiconst.pas:

Contains all constants required to use the API functions.

Function results
OK: >=0 
ERROR: < 0

Study the constant names carefully. They also contain comments that might be useful for you.
