Application object

Description

The application object is the root object in the hMailServer API. It's the first object you should create when you want to access the hMailServer API

Methods

Authenticate(string Username, string Password)

Authenticate the client.

Connect()

Opens a connection to the hMailServer database.

Reinitialize()

Reloads all the server settinsg

Start()

Starts an hMailServer server.

Stop()

Stops an hMailServer server.

SubmitEMail()

Submits pending email messages. May be triggered if an email has been manually inserted into the database.

Properties

BackupManager BackupManager

Gets the backup manager.
(read-only)

Database Database

Gets the database interface.
(read-only)

Domains Domains

Gets the Domains collection.
(read-only)

GlobalObjects GlobalObjects

Gets the global objects object.
(read-only)

string InitializationFile

The initialization file currently in use.
(read-only)

Links Links

Quick links to access objects
(read-only)

Rules Rules

Gets a colleciton of global rules.
(read-only)

eServerState ServerState

Gets the current state of the server.
(read-only)

Settings Settings

Gets the Settings object.
(read-only)

Status Status

Returns the Status object.
(read-only)

Utilities Utilities

Gets the Utilities object.
(read-only)

string Version

Gets the current hMailServer version
(read-only)

Search documentation