Unit IMAP4 - Ultibo.org

Return to Unit Reference

Description


Ultibo IMAP4 Interface unit

Constants


IMAP4 specific constants IMAP4_*

IMAP4_LISTENER_THREAD_NAME = 'IMAP4 Listener'; Thread name for IMAP4 listener threads
IMAP4_SERVER_THREAD_NAME = 'IMAP4 Server'; Thread name for IMAP4 server threads

IMAP4 logging IMAP4_LOG_LEVEL_*

IMAP4_LOG_LEVEL_DEBUG = LOG_LEVEL_DEBUG; IMAP4 debugging messages
IMAP4_LOG_LEVEL_INFO = LOG_LEVEL_INFO; IMAP4 informational messages
IMAP4_LOG_LEVEL_WARN = LOG_LEVEL_WARN; IMAP4 warning messages
IMAP4_LOG_LEVEL_ERROR = LOG_LEVEL_ERROR; IMAP4 error messages
IMAP4_LOG_LEVEL_NONE = LOG_LEVEL_NONE; No IMAP4 messages

Type definitions


None defined

Public variables



IMAP4 logging

IMAP4_DEFAULT_LOG_LEVEL:LongWord = IMAP4_LOG_LEVEL_DEBUG; Minimum level for IMAP4 messages. Only messages with level greater than or equal to this will be printed.
IMAP4_LOG_ENABLED:Boolean;

Function declarations



Initialization functions

procedure IMAP4Init;

Description: To be documented

IMAP4 helper functions

procedure IMAP4Log(Level:LongWord; const AText:String);

Description: To be documented

procedure IMAP4LogInfo(const AText:String); inline;

Description: To be documented

procedure IMAP4LogWarn(const AText:String); inline;

Description: To be documented

procedure IMAP4LogError(const AText:String); inline;

Description: To be documented

procedure IMAP4LogDebug(const AText:String); inline;

Description: To be documented

Return to Unit Reference