unit Chilkat.MailMan;

{
  Pascal wrapper for Chilkat MailMan.
  Auto-generated by PascalWrapperGenerator -- do not edit manually.
}

{$IFDEF FPC}
  {$MODE DELPHI}
{$ENDIF}

interface

uses
  SysUtils,
  Chilkat.Base;

type

  { TMailMan wraps CkMailMan via the C bridge layer. }
  TMailMan = class(TChilkatBase)
  private
    FOnAbortCheck: TChilkatAbortCheckEvent;
    FOnPercentDone: TChilkatPercentDoneEvent;
    FOnProgressInfo: TChilkatProgressInfoEvent;
    function  GetLastErrorHtml: string;
    function  GetLastErrorText: string;
    function  GetLastErrorXml: string;
    function  GetVersion: string;
    function  GetDebugLogFilePath: string;
    procedure SetDebugLogFilePath(AValue: string);
    function  GetVerboseLogging: Boolean;
    procedure SetVerboseLogging(AValue: Boolean);
    function  GetLastMethodSuccess: Boolean;
    procedure SetLastMethodSuccess(AValue: Boolean);
    function  GetAbortCurrent: Boolean;
    procedure SetAbortCurrent(AValue: Boolean);
    function  GetAllOrNone: Boolean;
    procedure SetAllOrNone(AValue: Boolean);
    function  GetAutoFix: Boolean;
    procedure SetAutoFix(AValue: Boolean);
    function  GetAutoGenMessageId: Boolean;
    procedure SetAutoGenMessageId(AValue: Boolean);
    function  GetAutoSmtpRset: Boolean;
    procedure SetAutoSmtpRset(AValue: Boolean);
    function  GetAutoUnwrapSecurity: Boolean;
    procedure SetAutoUnwrapSecurity(AValue: Boolean);
    function  GetClientIpAddress: string;
    procedure SetClientIpAddress(AValue: string);
    function  GetConnectFailReason: Integer;
    function  GetConnectTimeout: Integer;
    procedure SetConnectTimeout(AValue: Integer);
    function  GetDsnEnvid: string;
    procedure SetDsnEnvid(AValue: string);
    function  GetDsnNotify: string;
    procedure SetDsnNotify(AValue: string);
    function  GetDsnRet: string;
    procedure SetDsnRet(AValue: string);
    function  GetEmbedCertChain: Boolean;
    procedure SetEmbedCertChain(AValue: Boolean);
    function  GetFilter: string;
    procedure SetFilter(AValue: string);
    function  GetHeartbeatMs: Integer;
    procedure SetHeartbeatMs(AValue: Integer);
    function  GetHeloHostname: string;
    procedure SetHeloHostname(AValue: string);
    function  GetHttpProxyAuthMethod: string;
    procedure SetHttpProxyAuthMethod(AValue: string);
    function  GetHttpProxyDomain: string;
    procedure SetHttpProxyDomain(AValue: string);
    function  GetHttpProxyHostname: string;
    procedure SetHttpProxyHostname(AValue: string);
    function  GetHttpProxyPassword: string;
    procedure SetHttpProxyPassword(AValue: string);
    function  GetHttpProxyPort: Integer;
    procedure SetHttpProxyPort(AValue: Integer);
    function  GetHttpProxyUsername: string;
    procedure SetHttpProxyUsername(AValue: string);
    function  GetImmediateDelete: Boolean;
    procedure SetImmediateDelete(AValue: Boolean);
    function  GetIncludeRootCert: Boolean;
    procedure SetIncludeRootCert(AValue: Boolean);
    function  GetIsPop3Connected: Boolean;
    function  GetIsSmtpConnected: Boolean;
    function  GetLastSmtpStatus: Integer;
    function  GetLogMailReceivedFilename: string;
    procedure SetLogMailReceivedFilename(AValue: string);
    function  GetLogMailSentFilename: string;
    procedure SetLogMailSentFilename(AValue: string);
    function  GetMailHost: string;
    procedure SetMailHost(AValue: string);
    function  GetMailPort: Integer;
    procedure SetMailPort(AValue: Integer);
    function  GetMaxCount: Integer;
    procedure SetMaxCount(AValue: Integer);
    function  GetOAuth2AccessToken: string;
    procedure SetOAuth2AccessToken(AValue: string);
    function  GetOpaqueSigning: Boolean;
    procedure SetOpaqueSigning(AValue: Boolean);
    function  GetP7mEncryptAttachFilename: string;
    procedure SetP7mEncryptAttachFilename(AValue: string);
    function  GetP7mSigAttachFilename: string;
    procedure SetP7mSigAttachFilename(AValue: string);
    function  GetP7sSigAttachFilename: string;
    procedure SetP7sSigAttachFilename(AValue: string);
    function  GetPercentDoneScale: Integer;
    procedure SetPercentDoneScale(AValue: Integer);
    function  GetPop3SPA: Boolean;
    procedure SetPop3SPA(AValue: Boolean);
    function  GetPop3SessionId: Integer;
    function  GetPop3SessionLog: string;
    function  GetPop3SslServerCertVerified: Boolean;
    function  GetPop3Stls: Boolean;
    procedure SetPop3Stls(AValue: Boolean);
    function  GetPopPassword: string;
    procedure SetPopPassword(AValue: string);
    function  GetPopPasswordBase64: string;
    procedure SetPopPasswordBase64(AValue: string);
    function  GetPopSsl: Boolean;
    procedure SetPopSsl(AValue: Boolean);
    function  GetPopUsername: string;
    procedure SetPopUsername(AValue: string);
    function  GetPreferIpv6: Boolean;
    procedure SetPreferIpv6(AValue: Boolean);
    function  GetReadTimeout: Integer;
    procedure SetReadTimeout(AValue: Integer);
    function  GetRequireSslCertVerify: Boolean;
    procedure SetRequireSslCertVerify(AValue: Boolean);
    function  GetResetDateOnLoad: Boolean;
    procedure SetResetDateOnLoad(AValue: Boolean);
    function  GetSendBufferSize: Integer;
    procedure SetSendBufferSize(AValue: Integer);
    function  GetSizeLimit: Integer;
    procedure SetSizeLimit(AValue: Integer);
    function  GetSmtpAuthMethod: string;
    procedure SetSmtpAuthMethod(AValue: string);
    function  GetSmtpFailReason: string;
    function  GetSmtpHost: string;
    procedure SetSmtpHost(AValue: string);
    function  GetSmtpLoginDomain: string;
    procedure SetSmtpLoginDomain(AValue: string);
    function  GetSmtpPassword: string;
    procedure SetSmtpPassword(AValue: string);
    function  GetSmtpPipelining: Boolean;
    procedure SetSmtpPipelining(AValue: Boolean);
    function  GetSmtpPort: Integer;
    procedure SetSmtpPort(AValue: Integer);
    function  GetSmtpSessionLog: string;
    function  GetSmtpSsl: Boolean;
    procedure SetSmtpSsl(AValue: Boolean);
    function  GetSmtpSslServerCertVerified: Boolean;
    function  GetSmtpUsername: string;
    procedure SetSmtpUsername(AValue: string);
    function  GetSoRcvBuf: Integer;
    procedure SetSoRcvBuf(AValue: Integer);
    function  GetSoSndBuf: Integer;
    procedure SetSoSndBuf(AValue: Integer);
    function  GetSocksHostname: string;
    procedure SetSocksHostname(AValue: string);
    function  GetSocksPassword: string;
    procedure SetSocksPassword(AValue: string);
    function  GetSocksPort: Integer;
    procedure SetSocksPort(AValue: Integer);
    function  GetSocksUsername: string;
    procedure SetSocksUsername(AValue: string);
    function  GetSocksVersion: Integer;
    procedure SetSocksVersion(AValue: Integer);
    function  GetSslAllowedCiphers: string;
    procedure SetSslAllowedCiphers(AValue: string);
    function  GetSslProtocol: string;
    procedure SetSslProtocol(AValue: string);
    function  GetStartTLS: Boolean;
    procedure SetStartTLS(AValue: Boolean);
    function  GetTlsCipherSuite: string;
    function  GetTlsPinSet: string;
    procedure SetTlsPinSet(AValue: string);
    function  GetTlsVersion: string;
    function  GetUseApop: Boolean;
    procedure SetUseApop(AValue: Boolean);
    function  GetStartTLSifPossible: Boolean;
    procedure SetStartTLSifPossible(AValue: Boolean);
    function  GetUncommonOptions: string;
    procedure SetUncommonOptions(AValue: string);
    function  GetLastSmtpStatusMsg: string;
    function  GetPop3StlsIfPossible: Boolean;
    procedure SetPop3StlsIfPossible(AValue: Boolean);
    function  GetSmtpMailFrom: string;
    procedure SetSmtpMailFrom(AValue: string);
    function  GetEnableSecrets: Boolean;
    procedure SetEnableSecrets(AValue: Boolean);
    function  GetRequireHostnameMatch: Boolean;
    procedure SetRequireHostnameMatch(AValue: Boolean);
    function  GetSniHostname: string;
    procedure SetSniHostname(AValue: string);
    procedure SetOnAbortCheck(AValue: TChilkatAbortCheckEvent);
    procedure SetOnPercentDone(AValue: TChilkatPercentDoneEvent);
    procedure SetOnProgressInfo(AValue: TChilkatProgressInfoEvent);
  public
    constructor Create;
    destructor  Destroy; override;

    property LastErrorHtml: string read GetLastErrorHtml;
    property LastErrorText: string read GetLastErrorText;
    property LastErrorXml: string read GetLastErrorXml;
    property Version: string read GetVersion;
    property DebugLogFilePath: string read GetDebugLogFilePath write SetDebugLogFilePath;
    property VerboseLogging: Boolean read GetVerboseLogging write SetVerboseLogging;
    property LastMethodSuccess: Boolean read GetLastMethodSuccess write SetLastMethodSuccess;
    property AbortCurrent: Boolean read GetAbortCurrent write SetAbortCurrent;
    property AllOrNone: Boolean read GetAllOrNone write SetAllOrNone;
    property AutoFix: Boolean read GetAutoFix write SetAutoFix;
    property AutoGenMessageId: Boolean read GetAutoGenMessageId write SetAutoGenMessageId;
    property AutoSmtpRset: Boolean read GetAutoSmtpRset write SetAutoSmtpRset;
    property AutoUnwrapSecurity: Boolean read GetAutoUnwrapSecurity write SetAutoUnwrapSecurity;
    property ClientIpAddress: string read GetClientIpAddress write SetClientIpAddress;
    property ConnectFailReason: Integer read GetConnectFailReason;
    property ConnectTimeout: Integer read GetConnectTimeout write SetConnectTimeout;
    property DsnEnvid: string read GetDsnEnvid write SetDsnEnvid;
    property DsnNotify: string read GetDsnNotify write SetDsnNotify;
    property DsnRet: string read GetDsnRet write SetDsnRet;
    property EmbedCertChain: Boolean read GetEmbedCertChain write SetEmbedCertChain;
    property Filter: string read GetFilter write SetFilter;
    property HeartbeatMs: Integer read GetHeartbeatMs write SetHeartbeatMs;
    property HeloHostname: string read GetHeloHostname write SetHeloHostname;
    property HttpProxyAuthMethod: string read GetHttpProxyAuthMethod write SetHttpProxyAuthMethod;
    property HttpProxyDomain: string read GetHttpProxyDomain write SetHttpProxyDomain;
    property HttpProxyHostname: string read GetHttpProxyHostname write SetHttpProxyHostname;
    property HttpProxyPassword: string read GetHttpProxyPassword write SetHttpProxyPassword;
    property HttpProxyPort: Integer read GetHttpProxyPort write SetHttpProxyPort;
    property HttpProxyUsername: string read GetHttpProxyUsername write SetHttpProxyUsername;
    property ImmediateDelete: Boolean read GetImmediateDelete write SetImmediateDelete;
    property IncludeRootCert: Boolean read GetIncludeRootCert write SetIncludeRootCert;
    property IsPop3Connected: Boolean read GetIsPop3Connected;
    property IsSmtpConnected: Boolean read GetIsSmtpConnected;
    property LastSmtpStatus: Integer read GetLastSmtpStatus;
    property LogMailReceivedFilename: string read GetLogMailReceivedFilename write SetLogMailReceivedFilename;
    property LogMailSentFilename: string read GetLogMailSentFilename write SetLogMailSentFilename;
    property MailHost: string read GetMailHost write SetMailHost;
    property MailPort: Integer read GetMailPort write SetMailPort;
    property MaxCount: Integer read GetMaxCount write SetMaxCount;
    property OAuth2AccessToken: string read GetOAuth2AccessToken write SetOAuth2AccessToken;
    property OpaqueSigning: Boolean read GetOpaqueSigning write SetOpaqueSigning;
    property P7mEncryptAttachFilename: string read GetP7mEncryptAttachFilename write SetP7mEncryptAttachFilename;
    property P7mSigAttachFilename: string read GetP7mSigAttachFilename write SetP7mSigAttachFilename;
    property P7sSigAttachFilename: string read GetP7sSigAttachFilename write SetP7sSigAttachFilename;
    property PercentDoneScale: Integer read GetPercentDoneScale write SetPercentDoneScale;
    property Pop3SPA: Boolean read GetPop3SPA write SetPop3SPA;
    property Pop3SessionId: Integer read GetPop3SessionId;
    property Pop3SessionLog: string read GetPop3SessionLog;
    property Pop3SslServerCertVerified: Boolean read GetPop3SslServerCertVerified;
    property Pop3Stls: Boolean read GetPop3Stls write SetPop3Stls;
    property PopPassword: string read GetPopPassword write SetPopPassword;
    property PopPasswordBase64: string read GetPopPasswordBase64 write SetPopPasswordBase64;
    property PopSsl: Boolean read GetPopSsl write SetPopSsl;
    property PopUsername: string read GetPopUsername write SetPopUsername;
    property PreferIpv6: Boolean read GetPreferIpv6 write SetPreferIpv6;
    property ReadTimeout: Integer read GetReadTimeout write SetReadTimeout;
    property RequireSslCertVerify: Boolean read GetRequireSslCertVerify write SetRequireSslCertVerify;
    property ResetDateOnLoad: Boolean read GetResetDateOnLoad write SetResetDateOnLoad;
    property SendBufferSize: Integer read GetSendBufferSize write SetSendBufferSize;
    property SizeLimit: Integer read GetSizeLimit write SetSizeLimit;
    property SmtpAuthMethod: string read GetSmtpAuthMethod write SetSmtpAuthMethod;
    property SmtpFailReason: string read GetSmtpFailReason;
    property SmtpHost: string read GetSmtpHost write SetSmtpHost;
    property SmtpLoginDomain: string read GetSmtpLoginDomain write SetSmtpLoginDomain;
    property SmtpPassword: string read GetSmtpPassword write SetSmtpPassword;
    property SmtpPipelining: Boolean read GetSmtpPipelining write SetSmtpPipelining;
    property SmtpPort: Integer read GetSmtpPort write SetSmtpPort;
    property SmtpSessionLog: string read GetSmtpSessionLog;
    property SmtpSsl: Boolean read GetSmtpSsl write SetSmtpSsl;
    property SmtpSslServerCertVerified: Boolean read GetSmtpSslServerCertVerified;
    property SmtpUsername: string read GetSmtpUsername write SetSmtpUsername;
    property SoRcvBuf: Integer read GetSoRcvBuf write SetSoRcvBuf;
    property SoSndBuf: Integer read GetSoSndBuf write SetSoSndBuf;
    property SocksHostname: string read GetSocksHostname write SetSocksHostname;
    property SocksPassword: string read GetSocksPassword write SetSocksPassword;
    property SocksPort: Integer read GetSocksPort write SetSocksPort;
    property SocksUsername: string read GetSocksUsername write SetSocksUsername;
    property SocksVersion: Integer read GetSocksVersion write SetSocksVersion;
    property SslAllowedCiphers: string read GetSslAllowedCiphers write SetSslAllowedCiphers;
    property SslProtocol: string read GetSslProtocol write SetSslProtocol;
    property StartTLS: Boolean read GetStartTLS write SetStartTLS;
    property TlsCipherSuite: string read GetTlsCipherSuite;
    property TlsPinSet: string read GetTlsPinSet write SetTlsPinSet;
    property TlsVersion: string read GetTlsVersion;
    property UseApop: Boolean read GetUseApop write SetUseApop;
    property StartTLSifPossible: Boolean read GetStartTLSifPossible write SetStartTLSifPossible;
    property UncommonOptions: string read GetUncommonOptions write SetUncommonOptions;
    property LastSmtpStatusMsg: string read GetLastSmtpStatusMsg;
    property Pop3StlsIfPossible: Boolean read GetPop3StlsIfPossible write SetPop3StlsIfPossible;
    property SmtpMailFrom: string read GetSmtpMailFrom write SetSmtpMailFrom;
    property EnableSecrets: Boolean read GetEnableSecrets write SetEnableSecrets;
    property RequireHostnameMatch: Boolean read GetRequireHostnameMatch write SetRequireHostnameMatch;
    property SniHostname: string read GetSniHostname write SetSniHostname;

    { Event callbacks.  Return True from OnAbortCheck / OnPercentDone
      to abort the running method.  Callbacks are invoked on the
      thread that called the Chilkat method.  The HeartbeatMs
      property controls the AbortCheck frequency. }
    property OnAbortCheck: TChilkatAbortCheckEvent read FOnAbortCheck write SetOnAbortCheck;
    property OnPercentDone: TChilkatPercentDoneEvent read FOnPercentDone write SetOnPercentDone;
    property OnProgressInfo: TChilkatProgressInfoEvent read FOnProgressInfo write SetOnProgressInfo;

    function  AddPfxSourceFile(const pfxFilePath: string; const password: string): Boolean;
    function  CheckMail: Integer;
    procedure ClearPop3SessionLog;
    procedure ClearSmtpSessionLog;
    function  CloseSmtpConnection: Boolean;
    function  DeleteBundle(emailBundle: TChilkatBase): Boolean;
    function  DeleteByMsgnum(msgnum: Integer): Boolean;
    function  DeleteByUidl(const uidl: string): Boolean;
    function  DeleteEmail(email: TChilkatBase): Boolean;
    function  GetMailboxCount: Integer;
    function  GetMailboxInfoXml: string;
    function  GetMailboxSize: LongWord;
    function  GetSizeByUidl(const uidl: string): Integer;
    function  IsSmtpDsnCapable: Boolean;
    function  OpenSmtpConnection: Boolean;
    function  Pop3Authenticate: Boolean;
    function  Pop3BeginSession: Boolean;
    function  Pop3Connect: Boolean;
    function  Pop3EndSession: Boolean;
    function  Pop3EndSessionNoQuit: Boolean;
    function  Pop3Noop: Boolean;
    function  Pop3Reset: Boolean;
    function  Pop3SendRawCommand(const command: string; const charset: string): string;
    function  QuickSend(const fromAddr: string; const toAddr: string; const subject: string; const body: string; const smtpServer: string): Boolean;
    function  RenderToMime(email: TChilkatBase): string;
    function  SendBundle(bundle: TChilkatBase): Boolean;
    function  SendEmail(email: TChilkatBase): Boolean;
    function  SendMime(const fromAddr: string; const recipients: string; const mimeSource: string): Boolean;
    function  SetDecryptCert(cert: TChilkatBase): Boolean;
    function  SetDecryptCert2(cert: TChilkatBase; privateKey: TChilkatBase): Boolean;
    function  SetSslClientCert(cert: TChilkatBase): Boolean;
    function  SetSslClientCertPem(const pemDataOrFilename: string; const pemPassword: string): Boolean;
    function  SetSslClientCertPfx(const pfxPath: string; const pfxPassword: string): Boolean;
    function  SmtpAuthenticate: Boolean;
    function  SmtpConnect: Boolean;
    function  SmtpNoop: Boolean;
    function  SmtpReset: Boolean;
    function  SmtpSendRawCommand(const command: string; const charset: string; bEncodeBase64: Boolean): string;
    function  SshAuthenticatePk(const sshLogin: string; privKey: TChilkatBase): Boolean;
    function  SshAuthenticatePw(const sshLogin: string; const sshPassword: string): Boolean;
    function  SshCloseTunnel: Boolean;
    function  SshOpenTunnel(const sshHostname: string; sshPort: Integer): Boolean;
    function  UseCertVault(vault: TChilkatBase): Boolean;
    function  UseSsh(ssh: TChilkatBase): Boolean;
    function  UseSshTunnel(tunnel: TChilkatBase): Boolean;
    function  VerifyPopConnection: Boolean;
    function  VerifyPopLogin: Boolean;
    function  VerifyRecips(email: TChilkatBase; badAddrs: TChilkatBase): Boolean;
    function  VerifySmtpConnection: Boolean;
    function  VerifySmtpLogin: Boolean;
    function  RenderToMimeSb(email: TChilkatBase; renderedMime: TChilkatBase): Boolean;
    function  RenderToMimeBd(email: TChilkatBase; renderedMime: TChilkatBase): Boolean;
    function  SetPassword(const protocol: string; password: TChilkatBase): Boolean;
    function  SendMimeBd(const fromAddr: string; const recipients: string; mimeData: TChilkatBase): Boolean;
    function  FetchMimeBd(const uidl: string; mimeData: TChilkatBase): Boolean;
    procedure GetLastJsonData(json: TChilkatBase);
    function  GetServerCert(useSmtp: Boolean; cert: TChilkatBase): Boolean;
    function  FetchAll(keepOnServer: Boolean; headersOnly: Boolean; numBodyLines: Integer; bundle: TChilkatBase): Boolean;
    function  FetchRange(keepOnServer: Boolean; headersOnly: Boolean; numBodyLines: Integer; startIndex: Integer; endIndex: Integer; bundle: TChilkatBase): Boolean;
    function  FetchOne(headerOnly: Boolean; numBodyLines: Integer; msgNum: Integer; email: TChilkatBase): Boolean;
    function  FetchByUidl(const uidl: string; headerOnly: Boolean; numBodyLines: Integer; email: TChilkatBase): Boolean;
    function  FetchUidlSet(uidls: TChilkatBase; headersOnly: Boolean; numBodyLines: Integer; bundle: TChilkatBase): Boolean;
    function  FetchFull(partialEmail: TChilkatBase; fullEmail: TChilkatBase): Boolean;
    function  LoadMbxFile(const mbxPath: string; bundle: TChilkatBase): Boolean;
    function  FetchUidls(uidls: TChilkatBase): Boolean;
    function  AddPfxSourceBd(bd: TChilkatBase; const password: string): Boolean;
    function  FetchMimeByMsgnumBd(msgnum: Integer; bd: TChilkatBase): Boolean;
    function  DeleteUidlSet(stUidls: TChilkatBase): Boolean;
  end;

implementation

uses
  CkDllLoader,
  Chilkat.Utils;

{ ---- C bridge function pointer types ---- }
type
  TCkMailMan_Create  = function(): Pointer; cdecl;
  TCkMailMan_Dispose = procedure(handle: Pointer); cdecl;
  TCkBridgeAbortCheckCb   = function(userData: Pointer): Integer; cdecl;
  TCkBridgePercentDoneCb  = function(pctDone: Integer; userData: Pointer): Integer; cdecl;
  TCkBridgeProgressInfoCb = procedure(name: PAnsiChar; value: PAnsiChar; userData: Pointer); cdecl;
  TCkMailMan_SetAbortCheckCallback   = procedure(handle: Pointer; cb: TCkBridgeAbortCheckCb; userData: Pointer); cdecl;
  TCkMailMan_SetPercentDoneCallback  = procedure(handle: Pointer; cb: TCkBridgePercentDoneCb; userData: Pointer); cdecl;
  TCkMailMan_SetProgressInfoCallback = procedure(handle: Pointer; cb: TCkBridgeProgressInfoCb; userData: Pointer); cdecl;
  TCkMailMan_get_LastErrorHtml = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_get_LastErrorText = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_get_LastErrorXml = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_get_Version = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_get_DebugLogFilePath = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_DebugLogFilePath = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_VerboseLogging = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_put_VerboseLogging = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkMailMan_get_LastMethodSuccess = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_put_LastMethodSuccess = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkMailMan_get_AbortCurrent = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_put_AbortCurrent = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkMailMan_get_AllOrNone = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_put_AllOrNone = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkMailMan_get_AutoFix = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_put_AutoFix = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkMailMan_get_AutoGenMessageId = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_put_AutoGenMessageId = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkMailMan_get_AutoSmtpRset = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_put_AutoSmtpRset = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkMailMan_get_AutoUnwrapSecurity = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_put_AutoUnwrapSecurity = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkMailMan_get_ClientIpAddress = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_ClientIpAddress = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_ConnectFailReason = function(handle: Pointer): Integer; cdecl;
  TCkMailMan_get_ConnectTimeout = function(handle: Pointer): Integer; cdecl;
  TCkMailMan_put_ConnectTimeout = procedure(handle: Pointer; value: Integer); cdecl;
  TCkMailMan_get_DsnEnvid = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_DsnEnvid = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_DsnNotify = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_DsnNotify = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_DsnRet = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_DsnRet = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_EmbedCertChain = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_put_EmbedCertChain = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkMailMan_get_Filter = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_Filter = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_HeartbeatMs = function(handle: Pointer): Integer; cdecl;
  TCkMailMan_put_HeartbeatMs = procedure(handle: Pointer; value: Integer); cdecl;
  TCkMailMan_get_HeloHostname = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_HeloHostname = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_HttpProxyAuthMethod = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_HttpProxyAuthMethod = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_HttpProxyDomain = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_HttpProxyDomain = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_HttpProxyHostname = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_HttpProxyHostname = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_HttpProxyPassword = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_HttpProxyPassword = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_HttpProxyPort = function(handle: Pointer): Integer; cdecl;
  TCkMailMan_put_HttpProxyPort = procedure(handle: Pointer; value: Integer); cdecl;
  TCkMailMan_get_HttpProxyUsername = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_HttpProxyUsername = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_ImmediateDelete = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_put_ImmediateDelete = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkMailMan_get_IncludeRootCert = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_put_IncludeRootCert = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkMailMan_get_IsPop3Connected = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_get_IsSmtpConnected = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_get_LastSmtpStatus = function(handle: Pointer): Integer; cdecl;
  TCkMailMan_get_LogMailReceivedFilename = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_LogMailReceivedFilename = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_LogMailSentFilename = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_LogMailSentFilename = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_MailHost = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_MailHost = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_MailPort = function(handle: Pointer): Integer; cdecl;
  TCkMailMan_put_MailPort = procedure(handle: Pointer; value: Integer); cdecl;
  TCkMailMan_get_MaxCount = function(handle: Pointer): Integer; cdecl;
  TCkMailMan_put_MaxCount = procedure(handle: Pointer; value: Integer); cdecl;
  TCkMailMan_get_OAuth2AccessToken = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_OAuth2AccessToken = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_OpaqueSigning = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_put_OpaqueSigning = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkMailMan_get_P7mEncryptAttachFilename = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_P7mEncryptAttachFilename = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_P7mSigAttachFilename = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_P7mSigAttachFilename = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_P7sSigAttachFilename = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_P7sSigAttachFilename = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_PercentDoneScale = function(handle: Pointer): Integer; cdecl;
  TCkMailMan_put_PercentDoneScale = procedure(handle: Pointer; value: Integer); cdecl;
  TCkMailMan_get_Pop3SPA = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_put_Pop3SPA = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkMailMan_get_Pop3SessionId = function(handle: Pointer): Integer; cdecl;
  TCkMailMan_get_Pop3SessionLog = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_get_Pop3SslServerCertVerified = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_get_Pop3Stls = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_put_Pop3Stls = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkMailMan_get_PopPassword = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_PopPassword = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_PopPasswordBase64 = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_PopPasswordBase64 = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_PopSsl = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_put_PopSsl = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkMailMan_get_PopUsername = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_PopUsername = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_PreferIpv6 = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_put_PreferIpv6 = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkMailMan_get_ReadTimeout = function(handle: Pointer): Integer; cdecl;
  TCkMailMan_put_ReadTimeout = procedure(handle: Pointer; value: Integer); cdecl;
  TCkMailMan_get_RequireSslCertVerify = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_put_RequireSslCertVerify = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkMailMan_get_ResetDateOnLoad = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_put_ResetDateOnLoad = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkMailMan_get_SendBufferSize = function(handle: Pointer): Integer; cdecl;
  TCkMailMan_put_SendBufferSize = procedure(handle: Pointer; value: Integer); cdecl;
  TCkMailMan_get_SizeLimit = function(handle: Pointer): Integer; cdecl;
  TCkMailMan_put_SizeLimit = procedure(handle: Pointer; value: Integer); cdecl;
  TCkMailMan_get_SmtpAuthMethod = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_SmtpAuthMethod = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_SmtpFailReason = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_get_SmtpHost = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_SmtpHost = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_SmtpLoginDomain = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_SmtpLoginDomain = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_SmtpPassword = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_SmtpPassword = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_SmtpPipelining = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_put_SmtpPipelining = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkMailMan_get_SmtpPort = function(handle: Pointer): Integer; cdecl;
  TCkMailMan_put_SmtpPort = procedure(handle: Pointer; value: Integer); cdecl;
  TCkMailMan_get_SmtpSessionLog = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_get_SmtpSsl = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_put_SmtpSsl = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkMailMan_get_SmtpSslServerCertVerified = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_get_SmtpUsername = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_SmtpUsername = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_SoRcvBuf = function(handle: Pointer): Integer; cdecl;
  TCkMailMan_put_SoRcvBuf = procedure(handle: Pointer; value: Integer); cdecl;
  TCkMailMan_get_SoSndBuf = function(handle: Pointer): Integer; cdecl;
  TCkMailMan_put_SoSndBuf = procedure(handle: Pointer; value: Integer); cdecl;
  TCkMailMan_get_SocksHostname = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_SocksHostname = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_SocksPassword = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_SocksPassword = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_SocksPort = function(handle: Pointer): Integer; cdecl;
  TCkMailMan_put_SocksPort = procedure(handle: Pointer; value: Integer); cdecl;
  TCkMailMan_get_SocksUsername = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_SocksUsername = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_SocksVersion = function(handle: Pointer): Integer; cdecl;
  TCkMailMan_put_SocksVersion = procedure(handle: Pointer; value: Integer); cdecl;
  TCkMailMan_get_SslAllowedCiphers = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_SslAllowedCiphers = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_SslProtocol = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_SslProtocol = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_StartTLS = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_put_StartTLS = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkMailMan_get_TlsCipherSuite = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_get_TlsPinSet = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_TlsPinSet = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_TlsVersion = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_get_UseApop = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_put_UseApop = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkMailMan_get_StartTLSifPossible = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_put_StartTLSifPossible = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkMailMan_get_UncommonOptions = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_UncommonOptions = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_LastSmtpStatusMsg = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_get_Pop3StlsIfPossible = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_put_Pop3StlsIfPossible = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkMailMan_get_SmtpMailFrom = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_SmtpMailFrom = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_get_EnableSecrets = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_put_EnableSecrets = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkMailMan_get_RequireHostnameMatch = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_put_RequireHostnameMatch = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkMailMan_get_SniHostname = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_put_SniHostname = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkMailMan_AddPfxSourceFile = function(handle: Pointer; pfxFilePath: PAnsiChar; password: PAnsiChar): LongBool; cdecl;
  TCkMailMan_CheckMail = function(handle: Pointer): Integer; cdecl;
  TCkMailMan_ClearPop3SessionLog = procedure(handle: Pointer); cdecl;
  TCkMailMan_ClearSmtpSessionLog = procedure(handle: Pointer); cdecl;
  TCkMailMan_CloseSmtpConnection = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_DeleteBundle = function(handle: Pointer; emailBundle: Pointer): LongBool; cdecl;
  TCkMailMan_DeleteByMsgnum = function(handle: Pointer; msgnum: Integer): LongBool; cdecl;
  TCkMailMan_DeleteByUidl = function(handle: Pointer; uidl: PAnsiChar): LongBool; cdecl;
  TCkMailMan_DeleteEmail = function(handle: Pointer; email: Pointer): LongBool; cdecl;
  TCkMailMan_GetMailboxCount = function(handle: Pointer): Integer; cdecl;
  TCkMailMan_GetMailboxInfoXml = function(handle: Pointer): PAnsiChar; cdecl;
  TCkMailMan_GetMailboxSize = function(handle: Pointer): LongWord; cdecl;
  TCkMailMan_GetSizeByUidl = function(handle: Pointer; uidl: PAnsiChar): Integer; cdecl;
  TCkMailMan_IsSmtpDsnCapable = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_OpenSmtpConnection = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_Pop3Authenticate = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_Pop3BeginSession = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_Pop3Connect = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_Pop3EndSession = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_Pop3EndSessionNoQuit = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_Pop3Noop = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_Pop3Reset = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_Pop3SendRawCommand = function(handle: Pointer; command: PAnsiChar; charset: PAnsiChar): PAnsiChar; cdecl;
  TCkMailMan_QuickSend = function(handle: Pointer; fromAddr: PAnsiChar; toAddr: PAnsiChar; subject: PAnsiChar; body: PAnsiChar; smtpServer: PAnsiChar): LongBool; cdecl;
  TCkMailMan_RenderToMime = function(handle: Pointer; email: Pointer): PAnsiChar; cdecl;
  TCkMailMan_SendBundle = function(handle: Pointer; bundle: Pointer): LongBool; cdecl;
  TCkMailMan_SendEmail = function(handle: Pointer; email: Pointer): LongBool; cdecl;
  TCkMailMan_SendMime = function(handle: Pointer; fromAddr: PAnsiChar; recipients: PAnsiChar; mimeSource: PAnsiChar): LongBool; cdecl;
  TCkMailMan_SetDecryptCert = function(handle: Pointer; cert: Pointer): LongBool; cdecl;
  TCkMailMan_SetDecryptCert2 = function(handle: Pointer; cert: Pointer; privateKey: Pointer): LongBool; cdecl;
  TCkMailMan_SetSslClientCert = function(handle: Pointer; cert: Pointer): LongBool; cdecl;
  TCkMailMan_SetSslClientCertPem = function(handle: Pointer; pemDataOrFilename: PAnsiChar; pemPassword: PAnsiChar): LongBool; cdecl;
  TCkMailMan_SetSslClientCertPfx = function(handle: Pointer; pfxPath: PAnsiChar; pfxPassword: PAnsiChar): LongBool; cdecl;
  TCkMailMan_SmtpAuthenticate = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_SmtpConnect = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_SmtpNoop = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_SmtpReset = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_SmtpSendRawCommand = function(handle: Pointer; command: PAnsiChar; charset: PAnsiChar; bEncodeBase64: LongBool): PAnsiChar; cdecl;
  TCkMailMan_SshAuthenticatePk = function(handle: Pointer; sshLogin: PAnsiChar; privKey: Pointer): LongBool; cdecl;
  TCkMailMan_SshAuthenticatePw = function(handle: Pointer; sshLogin: PAnsiChar; sshPassword: PAnsiChar): LongBool; cdecl;
  TCkMailMan_SshCloseTunnel = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_SshOpenTunnel = function(handle: Pointer; sshHostname: PAnsiChar; sshPort: Integer): LongBool; cdecl;
  TCkMailMan_UseCertVault = function(handle: Pointer; vault: Pointer): LongBool; cdecl;
  TCkMailMan_UseSsh = function(handle: Pointer; ssh: Pointer): LongBool; cdecl;
  TCkMailMan_UseSshTunnel = function(handle: Pointer; tunnel: Pointer): LongBool; cdecl;
  TCkMailMan_VerifyPopConnection = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_VerifyPopLogin = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_VerifyRecips = function(handle: Pointer; email: Pointer; badAddrs: Pointer): LongBool; cdecl;
  TCkMailMan_VerifySmtpConnection = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_VerifySmtpLogin = function(handle: Pointer): LongBool; cdecl;
  TCkMailMan_RenderToMimeSb = function(handle: Pointer; email: Pointer; renderedMime: Pointer): LongBool; cdecl;
  TCkMailMan_RenderToMimeBd = function(handle: Pointer; email: Pointer; renderedMime: Pointer): LongBool; cdecl;
  TCkMailMan_SetPassword = function(handle: Pointer; protocol: PAnsiChar; password: Pointer): LongBool; cdecl;
  TCkMailMan_SendMimeBd = function(handle: Pointer; fromAddr: PAnsiChar; recipients: PAnsiChar; mimeData: Pointer): LongBool; cdecl;
  TCkMailMan_FetchMimeBd = function(handle: Pointer; uidl: PAnsiChar; mimeData: Pointer): LongBool; cdecl;
  TCkMailMan_GetLastJsonData = procedure(handle: Pointer; json: Pointer); cdecl;
  TCkMailMan_GetServerCert = function(handle: Pointer; useSmtp: LongBool; cert: Pointer): LongBool; cdecl;
  TCkMailMan_FetchAll = function(handle: Pointer; keepOnServer: LongBool; headersOnly: LongBool; numBodyLines: Integer; bundle: Pointer): LongBool; cdecl;
  TCkMailMan_FetchRange = function(handle: Pointer; keepOnServer: LongBool; headersOnly: LongBool; numBodyLines: Integer; startIndex: Integer; endIndex: Integer; bundle: Pointer): LongBool; cdecl;
  TCkMailMan_FetchOne = function(handle: Pointer; headerOnly: LongBool; numBodyLines: Integer; msgNum: Integer; email: Pointer): LongBool; cdecl;
  TCkMailMan_FetchByUidl = function(handle: Pointer; uidl: PAnsiChar; headerOnly: LongBool; numBodyLines: Integer; email: Pointer): LongBool; cdecl;
  TCkMailMan_FetchUidlSet = function(handle: Pointer; uidls: Pointer; headersOnly: LongBool; numBodyLines: Integer; bundle: Pointer): LongBool; cdecl;
  TCkMailMan_FetchFull = function(handle: Pointer; partialEmail: Pointer; fullEmail: Pointer): LongBool; cdecl;
  TCkMailMan_LoadMbxFile = function(handle: Pointer; mbxPath: PAnsiChar; bundle: Pointer): LongBool; cdecl;
  TCkMailMan_FetchUidls = function(handle: Pointer; uidls: Pointer): LongBool; cdecl;
  TCkMailMan_AddPfxSourceBd = function(handle: Pointer; bd: Pointer; password: PAnsiChar): LongBool; cdecl;
  TCkMailMan_FetchMimeByMsgnumBd = function(handle: Pointer; msgnum: Integer; bd: Pointer): LongBool; cdecl;
  TCkMailMan_DeleteUidlSet = function(handle: Pointer; stUidls: Pointer): LongBool; cdecl;

{ ---- C bridge function pointer variables ---- }
var
  CkMailMan_Create:  TCkMailMan_Create  = nil;
  CkMailMan_Dispose: TCkMailMan_Dispose = nil;
  CkMailMan_SetAbortCheckCallback:   TCkMailMan_SetAbortCheckCallback   = nil;
  CkMailMan_SetPercentDoneCallback:  TCkMailMan_SetPercentDoneCallback  = nil;
  CkMailMan_SetProgressInfoCallback: TCkMailMan_SetProgressInfoCallback = nil;
  CkMailMan_get_LastErrorHtml: TCkMailMan_get_LastErrorHtml = nil;
  CkMailMan_get_LastErrorText: TCkMailMan_get_LastErrorText = nil;
  CkMailMan_get_LastErrorXml: TCkMailMan_get_LastErrorXml = nil;
  CkMailMan_get_Version: TCkMailMan_get_Version = nil;
  CkMailMan_get_DebugLogFilePath: TCkMailMan_get_DebugLogFilePath = nil;
  CkMailMan_put_DebugLogFilePath: TCkMailMan_put_DebugLogFilePath = nil;
  CkMailMan_get_VerboseLogging: TCkMailMan_get_VerboseLogging = nil;
  CkMailMan_put_VerboseLogging: TCkMailMan_put_VerboseLogging = nil;
  CkMailMan_get_LastMethodSuccess: TCkMailMan_get_LastMethodSuccess = nil;
  CkMailMan_put_LastMethodSuccess: TCkMailMan_put_LastMethodSuccess = nil;
  CkMailMan_get_AbortCurrent: TCkMailMan_get_AbortCurrent = nil;
  CkMailMan_put_AbortCurrent: TCkMailMan_put_AbortCurrent = nil;
  CkMailMan_get_AllOrNone: TCkMailMan_get_AllOrNone = nil;
  CkMailMan_put_AllOrNone: TCkMailMan_put_AllOrNone = nil;
  CkMailMan_get_AutoFix: TCkMailMan_get_AutoFix = nil;
  CkMailMan_put_AutoFix: TCkMailMan_put_AutoFix = nil;
  CkMailMan_get_AutoGenMessageId: TCkMailMan_get_AutoGenMessageId = nil;
  CkMailMan_put_AutoGenMessageId: TCkMailMan_put_AutoGenMessageId = nil;
  CkMailMan_get_AutoSmtpRset: TCkMailMan_get_AutoSmtpRset = nil;
  CkMailMan_put_AutoSmtpRset: TCkMailMan_put_AutoSmtpRset = nil;
  CkMailMan_get_AutoUnwrapSecurity: TCkMailMan_get_AutoUnwrapSecurity = nil;
  CkMailMan_put_AutoUnwrapSecurity: TCkMailMan_put_AutoUnwrapSecurity = nil;
  CkMailMan_get_ClientIpAddress: TCkMailMan_get_ClientIpAddress = nil;
  CkMailMan_put_ClientIpAddress: TCkMailMan_put_ClientIpAddress = nil;
  CkMailMan_get_ConnectFailReason: TCkMailMan_get_ConnectFailReason = nil;
  CkMailMan_get_ConnectTimeout: TCkMailMan_get_ConnectTimeout = nil;
  CkMailMan_put_ConnectTimeout: TCkMailMan_put_ConnectTimeout = nil;
  CkMailMan_get_DsnEnvid: TCkMailMan_get_DsnEnvid = nil;
  CkMailMan_put_DsnEnvid: TCkMailMan_put_DsnEnvid = nil;
  CkMailMan_get_DsnNotify: TCkMailMan_get_DsnNotify = nil;
  CkMailMan_put_DsnNotify: TCkMailMan_put_DsnNotify = nil;
  CkMailMan_get_DsnRet: TCkMailMan_get_DsnRet = nil;
  CkMailMan_put_DsnRet: TCkMailMan_put_DsnRet = nil;
  CkMailMan_get_EmbedCertChain: TCkMailMan_get_EmbedCertChain = nil;
  CkMailMan_put_EmbedCertChain: TCkMailMan_put_EmbedCertChain = nil;
  CkMailMan_get_Filter: TCkMailMan_get_Filter = nil;
  CkMailMan_put_Filter: TCkMailMan_put_Filter = nil;
  CkMailMan_get_HeartbeatMs: TCkMailMan_get_HeartbeatMs = nil;
  CkMailMan_put_HeartbeatMs: TCkMailMan_put_HeartbeatMs = nil;
  CkMailMan_get_HeloHostname: TCkMailMan_get_HeloHostname = nil;
  CkMailMan_put_HeloHostname: TCkMailMan_put_HeloHostname = nil;
  CkMailMan_get_HttpProxyAuthMethod: TCkMailMan_get_HttpProxyAuthMethod = nil;
  CkMailMan_put_HttpProxyAuthMethod: TCkMailMan_put_HttpProxyAuthMethod = nil;
  CkMailMan_get_HttpProxyDomain: TCkMailMan_get_HttpProxyDomain = nil;
  CkMailMan_put_HttpProxyDomain: TCkMailMan_put_HttpProxyDomain = nil;
  CkMailMan_get_HttpProxyHostname: TCkMailMan_get_HttpProxyHostname = nil;
  CkMailMan_put_HttpProxyHostname: TCkMailMan_put_HttpProxyHostname = nil;
  CkMailMan_get_HttpProxyPassword: TCkMailMan_get_HttpProxyPassword = nil;
  CkMailMan_put_HttpProxyPassword: TCkMailMan_put_HttpProxyPassword = nil;
  CkMailMan_get_HttpProxyPort: TCkMailMan_get_HttpProxyPort = nil;
  CkMailMan_put_HttpProxyPort: TCkMailMan_put_HttpProxyPort = nil;
  CkMailMan_get_HttpProxyUsername: TCkMailMan_get_HttpProxyUsername = nil;
  CkMailMan_put_HttpProxyUsername: TCkMailMan_put_HttpProxyUsername = nil;
  CkMailMan_get_ImmediateDelete: TCkMailMan_get_ImmediateDelete = nil;
  CkMailMan_put_ImmediateDelete: TCkMailMan_put_ImmediateDelete = nil;
  CkMailMan_get_IncludeRootCert: TCkMailMan_get_IncludeRootCert = nil;
  CkMailMan_put_IncludeRootCert: TCkMailMan_put_IncludeRootCert = nil;
  CkMailMan_get_IsPop3Connected: TCkMailMan_get_IsPop3Connected = nil;
  CkMailMan_get_IsSmtpConnected: TCkMailMan_get_IsSmtpConnected = nil;
  CkMailMan_get_LastSmtpStatus: TCkMailMan_get_LastSmtpStatus = nil;
  CkMailMan_get_LogMailReceivedFilename: TCkMailMan_get_LogMailReceivedFilename = nil;
  CkMailMan_put_LogMailReceivedFilename: TCkMailMan_put_LogMailReceivedFilename = nil;
  CkMailMan_get_LogMailSentFilename: TCkMailMan_get_LogMailSentFilename = nil;
  CkMailMan_put_LogMailSentFilename: TCkMailMan_put_LogMailSentFilename = nil;
  CkMailMan_get_MailHost: TCkMailMan_get_MailHost = nil;
  CkMailMan_put_MailHost: TCkMailMan_put_MailHost = nil;
  CkMailMan_get_MailPort: TCkMailMan_get_MailPort = nil;
  CkMailMan_put_MailPort: TCkMailMan_put_MailPort = nil;
  CkMailMan_get_MaxCount: TCkMailMan_get_MaxCount = nil;
  CkMailMan_put_MaxCount: TCkMailMan_put_MaxCount = nil;
  CkMailMan_get_OAuth2AccessToken: TCkMailMan_get_OAuth2AccessToken = nil;
  CkMailMan_put_OAuth2AccessToken: TCkMailMan_put_OAuth2AccessToken = nil;
  CkMailMan_get_OpaqueSigning: TCkMailMan_get_OpaqueSigning = nil;
  CkMailMan_put_OpaqueSigning: TCkMailMan_put_OpaqueSigning = nil;
  CkMailMan_get_P7mEncryptAttachFilename: TCkMailMan_get_P7mEncryptAttachFilename = nil;
  CkMailMan_put_P7mEncryptAttachFilename: TCkMailMan_put_P7mEncryptAttachFilename = nil;
  CkMailMan_get_P7mSigAttachFilename: TCkMailMan_get_P7mSigAttachFilename = nil;
  CkMailMan_put_P7mSigAttachFilename: TCkMailMan_put_P7mSigAttachFilename = nil;
  CkMailMan_get_P7sSigAttachFilename: TCkMailMan_get_P7sSigAttachFilename = nil;
  CkMailMan_put_P7sSigAttachFilename: TCkMailMan_put_P7sSigAttachFilename = nil;
  CkMailMan_get_PercentDoneScale: TCkMailMan_get_PercentDoneScale = nil;
  CkMailMan_put_PercentDoneScale: TCkMailMan_put_PercentDoneScale = nil;
  CkMailMan_get_Pop3SPA: TCkMailMan_get_Pop3SPA = nil;
  CkMailMan_put_Pop3SPA: TCkMailMan_put_Pop3SPA = nil;
  CkMailMan_get_Pop3SessionId: TCkMailMan_get_Pop3SessionId = nil;
  CkMailMan_get_Pop3SessionLog: TCkMailMan_get_Pop3SessionLog = nil;
  CkMailMan_get_Pop3SslServerCertVerified: TCkMailMan_get_Pop3SslServerCertVerified = nil;
  CkMailMan_get_Pop3Stls: TCkMailMan_get_Pop3Stls = nil;
  CkMailMan_put_Pop3Stls: TCkMailMan_put_Pop3Stls = nil;
  CkMailMan_get_PopPassword: TCkMailMan_get_PopPassword = nil;
  CkMailMan_put_PopPassword: TCkMailMan_put_PopPassword = nil;
  CkMailMan_get_PopPasswordBase64: TCkMailMan_get_PopPasswordBase64 = nil;
  CkMailMan_put_PopPasswordBase64: TCkMailMan_put_PopPasswordBase64 = nil;
  CkMailMan_get_PopSsl: TCkMailMan_get_PopSsl = nil;
  CkMailMan_put_PopSsl: TCkMailMan_put_PopSsl = nil;
  CkMailMan_get_PopUsername: TCkMailMan_get_PopUsername = nil;
  CkMailMan_put_PopUsername: TCkMailMan_put_PopUsername = nil;
  CkMailMan_get_PreferIpv6: TCkMailMan_get_PreferIpv6 = nil;
  CkMailMan_put_PreferIpv6: TCkMailMan_put_PreferIpv6 = nil;
  CkMailMan_get_ReadTimeout: TCkMailMan_get_ReadTimeout = nil;
  CkMailMan_put_ReadTimeout: TCkMailMan_put_ReadTimeout = nil;
  CkMailMan_get_RequireSslCertVerify: TCkMailMan_get_RequireSslCertVerify = nil;
  CkMailMan_put_RequireSslCertVerify: TCkMailMan_put_RequireSslCertVerify = nil;
  CkMailMan_get_ResetDateOnLoad: TCkMailMan_get_ResetDateOnLoad = nil;
  CkMailMan_put_ResetDateOnLoad: TCkMailMan_put_ResetDateOnLoad = nil;
  CkMailMan_get_SendBufferSize: TCkMailMan_get_SendBufferSize = nil;
  CkMailMan_put_SendBufferSize: TCkMailMan_put_SendBufferSize = nil;
  CkMailMan_get_SizeLimit: TCkMailMan_get_SizeLimit = nil;
  CkMailMan_put_SizeLimit: TCkMailMan_put_SizeLimit = nil;
  CkMailMan_get_SmtpAuthMethod: TCkMailMan_get_SmtpAuthMethod = nil;
  CkMailMan_put_SmtpAuthMethod: TCkMailMan_put_SmtpAuthMethod = nil;
  CkMailMan_get_SmtpFailReason: TCkMailMan_get_SmtpFailReason = nil;
  CkMailMan_get_SmtpHost: TCkMailMan_get_SmtpHost = nil;
  CkMailMan_put_SmtpHost: TCkMailMan_put_SmtpHost = nil;
  CkMailMan_get_SmtpLoginDomain: TCkMailMan_get_SmtpLoginDomain = nil;
  CkMailMan_put_SmtpLoginDomain: TCkMailMan_put_SmtpLoginDomain = nil;
  CkMailMan_get_SmtpPassword: TCkMailMan_get_SmtpPassword = nil;
  CkMailMan_put_SmtpPassword: TCkMailMan_put_SmtpPassword = nil;
  CkMailMan_get_SmtpPipelining: TCkMailMan_get_SmtpPipelining = nil;
  CkMailMan_put_SmtpPipelining: TCkMailMan_put_SmtpPipelining = nil;
  CkMailMan_get_SmtpPort: TCkMailMan_get_SmtpPort = nil;
  CkMailMan_put_SmtpPort: TCkMailMan_put_SmtpPort = nil;
  CkMailMan_get_SmtpSessionLog: TCkMailMan_get_SmtpSessionLog = nil;
  CkMailMan_get_SmtpSsl: TCkMailMan_get_SmtpSsl = nil;
  CkMailMan_put_SmtpSsl: TCkMailMan_put_SmtpSsl = nil;
  CkMailMan_get_SmtpSslServerCertVerified: TCkMailMan_get_SmtpSslServerCertVerified = nil;
  CkMailMan_get_SmtpUsername: TCkMailMan_get_SmtpUsername = nil;
  CkMailMan_put_SmtpUsername: TCkMailMan_put_SmtpUsername = nil;
  CkMailMan_get_SoRcvBuf: TCkMailMan_get_SoRcvBuf = nil;
  CkMailMan_put_SoRcvBuf: TCkMailMan_put_SoRcvBuf = nil;
  CkMailMan_get_SoSndBuf: TCkMailMan_get_SoSndBuf = nil;
  CkMailMan_put_SoSndBuf: TCkMailMan_put_SoSndBuf = nil;
  CkMailMan_get_SocksHostname: TCkMailMan_get_SocksHostname = nil;
  CkMailMan_put_SocksHostname: TCkMailMan_put_SocksHostname = nil;
  CkMailMan_get_SocksPassword: TCkMailMan_get_SocksPassword = nil;
  CkMailMan_put_SocksPassword: TCkMailMan_put_SocksPassword = nil;
  CkMailMan_get_SocksPort: TCkMailMan_get_SocksPort = nil;
  CkMailMan_put_SocksPort: TCkMailMan_put_SocksPort = nil;
  CkMailMan_get_SocksUsername: TCkMailMan_get_SocksUsername = nil;
  CkMailMan_put_SocksUsername: TCkMailMan_put_SocksUsername = nil;
  CkMailMan_get_SocksVersion: TCkMailMan_get_SocksVersion = nil;
  CkMailMan_put_SocksVersion: TCkMailMan_put_SocksVersion = nil;
  CkMailMan_get_SslAllowedCiphers: TCkMailMan_get_SslAllowedCiphers = nil;
  CkMailMan_put_SslAllowedCiphers: TCkMailMan_put_SslAllowedCiphers = nil;
  CkMailMan_get_SslProtocol: TCkMailMan_get_SslProtocol = nil;
  CkMailMan_put_SslProtocol: TCkMailMan_put_SslProtocol = nil;
  CkMailMan_get_StartTLS: TCkMailMan_get_StartTLS = nil;
  CkMailMan_put_StartTLS: TCkMailMan_put_StartTLS = nil;
  CkMailMan_get_TlsCipherSuite: TCkMailMan_get_TlsCipherSuite = nil;
  CkMailMan_get_TlsPinSet: TCkMailMan_get_TlsPinSet = nil;
  CkMailMan_put_TlsPinSet: TCkMailMan_put_TlsPinSet = nil;
  CkMailMan_get_TlsVersion: TCkMailMan_get_TlsVersion = nil;
  CkMailMan_get_UseApop: TCkMailMan_get_UseApop = nil;
  CkMailMan_put_UseApop: TCkMailMan_put_UseApop = nil;
  CkMailMan_get_StartTLSifPossible: TCkMailMan_get_StartTLSifPossible = nil;
  CkMailMan_put_StartTLSifPossible: TCkMailMan_put_StartTLSifPossible = nil;
  CkMailMan_get_UncommonOptions: TCkMailMan_get_UncommonOptions = nil;
  CkMailMan_put_UncommonOptions: TCkMailMan_put_UncommonOptions = nil;
  CkMailMan_get_LastSmtpStatusMsg: TCkMailMan_get_LastSmtpStatusMsg = nil;
  CkMailMan_get_Pop3StlsIfPossible: TCkMailMan_get_Pop3StlsIfPossible = nil;
  CkMailMan_put_Pop3StlsIfPossible: TCkMailMan_put_Pop3StlsIfPossible = nil;
  CkMailMan_get_SmtpMailFrom: TCkMailMan_get_SmtpMailFrom = nil;
  CkMailMan_put_SmtpMailFrom: TCkMailMan_put_SmtpMailFrom = nil;
  CkMailMan_get_EnableSecrets: TCkMailMan_get_EnableSecrets = nil;
  CkMailMan_put_EnableSecrets: TCkMailMan_put_EnableSecrets = nil;
  CkMailMan_get_RequireHostnameMatch: TCkMailMan_get_RequireHostnameMatch = nil;
  CkMailMan_put_RequireHostnameMatch: TCkMailMan_put_RequireHostnameMatch = nil;
  CkMailMan_get_SniHostname: TCkMailMan_get_SniHostname = nil;
  CkMailMan_put_SniHostname: TCkMailMan_put_SniHostname = nil;
  CkMailMan_AddPfxSourceFile: TCkMailMan_AddPfxSourceFile = nil;
  CkMailMan_CheckMail: TCkMailMan_CheckMail = nil;
  CkMailMan_ClearPop3SessionLog: TCkMailMan_ClearPop3SessionLog = nil;
  CkMailMan_ClearSmtpSessionLog: TCkMailMan_ClearSmtpSessionLog = nil;
  CkMailMan_CloseSmtpConnection: TCkMailMan_CloseSmtpConnection = nil;
  CkMailMan_DeleteBundle: TCkMailMan_DeleteBundle = nil;
  CkMailMan_DeleteByMsgnum: TCkMailMan_DeleteByMsgnum = nil;
  CkMailMan_DeleteByUidl: TCkMailMan_DeleteByUidl = nil;
  CkMailMan_DeleteEmail: TCkMailMan_DeleteEmail = nil;
  CkMailMan_GetMailboxCount: TCkMailMan_GetMailboxCount = nil;
  CkMailMan_GetMailboxInfoXml: TCkMailMan_GetMailboxInfoXml = nil;
  CkMailMan_GetMailboxSize: TCkMailMan_GetMailboxSize = nil;
  CkMailMan_GetSizeByUidl: TCkMailMan_GetSizeByUidl = nil;
  CkMailMan_IsSmtpDsnCapable: TCkMailMan_IsSmtpDsnCapable = nil;
  CkMailMan_OpenSmtpConnection: TCkMailMan_OpenSmtpConnection = nil;
  CkMailMan_Pop3Authenticate: TCkMailMan_Pop3Authenticate = nil;
  CkMailMan_Pop3BeginSession: TCkMailMan_Pop3BeginSession = nil;
  CkMailMan_Pop3Connect: TCkMailMan_Pop3Connect = nil;
  CkMailMan_Pop3EndSession: TCkMailMan_Pop3EndSession = nil;
  CkMailMan_Pop3EndSessionNoQuit: TCkMailMan_Pop3EndSessionNoQuit = nil;
  CkMailMan_Pop3Noop: TCkMailMan_Pop3Noop = nil;
  CkMailMan_Pop3Reset: TCkMailMan_Pop3Reset = nil;
  CkMailMan_Pop3SendRawCommand: TCkMailMan_Pop3SendRawCommand = nil;
  CkMailMan_QuickSend: TCkMailMan_QuickSend = nil;
  CkMailMan_RenderToMime: TCkMailMan_RenderToMime = nil;
  CkMailMan_SendBundle: TCkMailMan_SendBundle = nil;
  CkMailMan_SendEmail: TCkMailMan_SendEmail = nil;
  CkMailMan_SendMime: TCkMailMan_SendMime = nil;
  CkMailMan_SetDecryptCert: TCkMailMan_SetDecryptCert = nil;
  CkMailMan_SetDecryptCert2: TCkMailMan_SetDecryptCert2 = nil;
  CkMailMan_SetSslClientCert: TCkMailMan_SetSslClientCert = nil;
  CkMailMan_SetSslClientCertPem: TCkMailMan_SetSslClientCertPem = nil;
  CkMailMan_SetSslClientCertPfx: TCkMailMan_SetSslClientCertPfx = nil;
  CkMailMan_SmtpAuthenticate: TCkMailMan_SmtpAuthenticate = nil;
  CkMailMan_SmtpConnect: TCkMailMan_SmtpConnect = nil;
  CkMailMan_SmtpNoop: TCkMailMan_SmtpNoop = nil;
  CkMailMan_SmtpReset: TCkMailMan_SmtpReset = nil;
  CkMailMan_SmtpSendRawCommand: TCkMailMan_SmtpSendRawCommand = nil;
  CkMailMan_SshAuthenticatePk: TCkMailMan_SshAuthenticatePk = nil;
  CkMailMan_SshAuthenticatePw: TCkMailMan_SshAuthenticatePw = nil;
  CkMailMan_SshCloseTunnel: TCkMailMan_SshCloseTunnel = nil;
  CkMailMan_SshOpenTunnel: TCkMailMan_SshOpenTunnel = nil;
  CkMailMan_UseCertVault: TCkMailMan_UseCertVault = nil;
  CkMailMan_UseSsh: TCkMailMan_UseSsh = nil;
  CkMailMan_UseSshTunnel: TCkMailMan_UseSshTunnel = nil;
  CkMailMan_VerifyPopConnection: TCkMailMan_VerifyPopConnection = nil;
  CkMailMan_VerifyPopLogin: TCkMailMan_VerifyPopLogin = nil;
  CkMailMan_VerifyRecips: TCkMailMan_VerifyRecips = nil;
  CkMailMan_VerifySmtpConnection: TCkMailMan_VerifySmtpConnection = nil;
  CkMailMan_VerifySmtpLogin: TCkMailMan_VerifySmtpLogin = nil;
  CkMailMan_RenderToMimeSb: TCkMailMan_RenderToMimeSb = nil;
  CkMailMan_RenderToMimeBd: TCkMailMan_RenderToMimeBd = nil;
  CkMailMan_SetPassword: TCkMailMan_SetPassword = nil;
  CkMailMan_SendMimeBd: TCkMailMan_SendMimeBd = nil;
  CkMailMan_FetchMimeBd: TCkMailMan_FetchMimeBd = nil;
  CkMailMan_GetLastJsonData: TCkMailMan_GetLastJsonData = nil;
  CkMailMan_GetServerCert: TCkMailMan_GetServerCert = nil;
  CkMailMan_FetchAll: TCkMailMan_FetchAll = nil;
  CkMailMan_FetchRange: TCkMailMan_FetchRange = nil;
  CkMailMan_FetchOne: TCkMailMan_FetchOne = nil;
  CkMailMan_FetchByUidl: TCkMailMan_FetchByUidl = nil;
  CkMailMan_FetchUidlSet: TCkMailMan_FetchUidlSet = nil;
  CkMailMan_FetchFull: TCkMailMan_FetchFull = nil;
  CkMailMan_LoadMbxFile: TCkMailMan_LoadMbxFile = nil;
  CkMailMan_FetchUidls: TCkMailMan_FetchUidls = nil;
  CkMailMan_AddPfxSourceBd: TCkMailMan_AddPfxSourceBd = nil;
  CkMailMan_FetchMimeByMsgnumBd: TCkMailMan_FetchMimeByMsgnumBd = nil;
  CkMailMan_DeleteUidlSet: TCkMailMan_DeleteUidlSet = nil;

constructor TMailMan.Create;
begin
  inherited Create;
  FHandle := CkMailMan_Create();
end;

destructor TMailMan.Destroy;
begin
  if FHandle <> nil then
    CkMailMan_Dispose(FHandle);
  FHandle := nil;
  inherited;
end;

{ ---- Event callback thunks ---- }
{ Standalone cdecl functions registered with the C bridge.  The bridge
  passes back the userData pointer, which carries the Pascal object
  instance.  A non-zero return value aborts the running method. }

function TMailMan_AbortCheckThunk(userData: Pointer): Integer; cdecl;
var
  obj: TMailMan;
begin
  Result := 0;
  obj := TMailMan(userData);
  if Assigned(obj) and Assigned(obj.FOnAbortCheck) then
    if obj.FOnAbortCheck(obj) then Result := 1;
end;

function TMailMan_PercentDoneThunk(pctDone: Integer; userData: Pointer): Integer; cdecl;
var
  obj: TMailMan;
begin
  Result := 0;
  obj := TMailMan(userData);
  if Assigned(obj) and Assigned(obj.FOnPercentDone) then
    if obj.FOnPercentDone(obj, pctDone) then Result := 1;
end;

procedure TMailMan_ProgressInfoThunk(name: PAnsiChar; value: PAnsiChar; userData: Pointer); cdecl;
var
  obj: TMailMan;
begin
  obj := TMailMan(userData);
  if Assigned(obj) and Assigned(obj.FOnProgressInfo) then
    obj.FOnProgressInfo(obj, CkToStr(name), CkToStr(value));
end;

procedure TMailMan.SetOnAbortCheck(AValue: TChilkatAbortCheckEvent);
begin
  FOnAbortCheck := AValue;
  if Assigned(AValue) then
    CkMailMan_SetAbortCheckCallback(FHandle, @TMailMan_AbortCheckThunk, Self)
  else
    CkMailMan_SetAbortCheckCallback(FHandle, nil, nil);
end;

procedure TMailMan.SetOnPercentDone(AValue: TChilkatPercentDoneEvent);
begin
  FOnPercentDone := AValue;
  if Assigned(AValue) then
    CkMailMan_SetPercentDoneCallback(FHandle, @TMailMan_PercentDoneThunk, Self)
  else
    CkMailMan_SetPercentDoneCallback(FHandle, nil, nil);
end;

procedure TMailMan.SetOnProgressInfo(AValue: TChilkatProgressInfoEvent);
begin
  FOnProgressInfo := AValue;
  if Assigned(AValue) then
    CkMailMan_SetProgressInfoCallback(FHandle, @TMailMan_ProgressInfoThunk, Self)
  else
    CkMailMan_SetProgressInfoCallback(FHandle, nil, nil);
end;

function TMailMan.GetLastErrorHtml: string;
begin
  Result := CkToStr(CkMailMan_get_LastErrorHtml(FHandle));
end;

function TMailMan.GetLastErrorText: string;
begin
  Result := CkToStr(CkMailMan_get_LastErrorText(FHandle));
end;

function TMailMan.GetLastErrorXml: string;
begin
  Result := CkToStr(CkMailMan_get_LastErrorXml(FHandle));
end;

function TMailMan.GetVersion: string;
begin
  Result := CkToStr(CkMailMan_get_Version(FHandle));
end;

function TMailMan.GetDebugLogFilePath: string;
begin
  Result := CkToStr(CkMailMan_get_DebugLogFilePath(FHandle));
end;

procedure TMailMan.SetDebugLogFilePath(AValue: string);
begin
  CkMailMan_put_DebugLogFilePath(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetVerboseLogging: Boolean;
begin
  Result := Boolean(CkMailMan_get_VerboseLogging(FHandle));
end;

procedure TMailMan.SetVerboseLogging(AValue: Boolean);
begin
  CkMailMan_put_VerboseLogging(FHandle, LongBool(AValue));
end;

function TMailMan.GetLastMethodSuccess: Boolean;
begin
  Result := Boolean(CkMailMan_get_LastMethodSuccess(FHandle));
end;

procedure TMailMan.SetLastMethodSuccess(AValue: Boolean);
begin
  CkMailMan_put_LastMethodSuccess(FHandle, LongBool(AValue));
end;

function TMailMan.GetAbortCurrent: Boolean;
begin
  Result := Boolean(CkMailMan_get_AbortCurrent(FHandle));
end;

procedure TMailMan.SetAbortCurrent(AValue: Boolean);
begin
  CkMailMan_put_AbortCurrent(FHandle, LongBool(AValue));
end;

function TMailMan.GetAllOrNone: Boolean;
begin
  Result := Boolean(CkMailMan_get_AllOrNone(FHandle));
end;

procedure TMailMan.SetAllOrNone(AValue: Boolean);
begin
  CkMailMan_put_AllOrNone(FHandle, LongBool(AValue));
end;

function TMailMan.GetAutoFix: Boolean;
begin
  Result := Boolean(CkMailMan_get_AutoFix(FHandle));
end;

procedure TMailMan.SetAutoFix(AValue: Boolean);
begin
  CkMailMan_put_AutoFix(FHandle, LongBool(AValue));
end;

function TMailMan.GetAutoGenMessageId: Boolean;
begin
  Result := Boolean(CkMailMan_get_AutoGenMessageId(FHandle));
end;

procedure TMailMan.SetAutoGenMessageId(AValue: Boolean);
begin
  CkMailMan_put_AutoGenMessageId(FHandle, LongBool(AValue));
end;

function TMailMan.GetAutoSmtpRset: Boolean;
begin
  Result := Boolean(CkMailMan_get_AutoSmtpRset(FHandle));
end;

procedure TMailMan.SetAutoSmtpRset(AValue: Boolean);
begin
  CkMailMan_put_AutoSmtpRset(FHandle, LongBool(AValue));
end;

function TMailMan.GetAutoUnwrapSecurity: Boolean;
begin
  Result := Boolean(CkMailMan_get_AutoUnwrapSecurity(FHandle));
end;

procedure TMailMan.SetAutoUnwrapSecurity(AValue: Boolean);
begin
  CkMailMan_put_AutoUnwrapSecurity(FHandle, LongBool(AValue));
end;

function TMailMan.GetClientIpAddress: string;
begin
  Result := CkToStr(CkMailMan_get_ClientIpAddress(FHandle));
end;

procedure TMailMan.SetClientIpAddress(AValue: string);
begin
  CkMailMan_put_ClientIpAddress(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetConnectFailReason: Integer;
begin
  Result := CkMailMan_get_ConnectFailReason(FHandle);
end;

function TMailMan.GetConnectTimeout: Integer;
begin
  Result := CkMailMan_get_ConnectTimeout(FHandle);
end;

procedure TMailMan.SetConnectTimeout(AValue: Integer);
begin
  CkMailMan_put_ConnectTimeout(FHandle, AValue);
end;

function TMailMan.GetDsnEnvid: string;
begin
  Result := CkToStr(CkMailMan_get_DsnEnvid(FHandle));
end;

procedure TMailMan.SetDsnEnvid(AValue: string);
begin
  CkMailMan_put_DsnEnvid(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetDsnNotify: string;
begin
  Result := CkToStr(CkMailMan_get_DsnNotify(FHandle));
end;

procedure TMailMan.SetDsnNotify(AValue: string);
begin
  CkMailMan_put_DsnNotify(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetDsnRet: string;
begin
  Result := CkToStr(CkMailMan_get_DsnRet(FHandle));
end;

procedure TMailMan.SetDsnRet(AValue: string);
begin
  CkMailMan_put_DsnRet(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetEmbedCertChain: Boolean;
begin
  Result := Boolean(CkMailMan_get_EmbedCertChain(FHandle));
end;

procedure TMailMan.SetEmbedCertChain(AValue: Boolean);
begin
  CkMailMan_put_EmbedCertChain(FHandle, LongBool(AValue));
end;

function TMailMan.GetFilter: string;
begin
  Result := CkToStr(CkMailMan_get_Filter(FHandle));
end;

procedure TMailMan.SetFilter(AValue: string);
begin
  CkMailMan_put_Filter(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetHeartbeatMs: Integer;
begin
  Result := CkMailMan_get_HeartbeatMs(FHandle);
end;

procedure TMailMan.SetHeartbeatMs(AValue: Integer);
begin
  CkMailMan_put_HeartbeatMs(FHandle, AValue);
end;

function TMailMan.GetHeloHostname: string;
begin
  Result := CkToStr(CkMailMan_get_HeloHostname(FHandle));
end;

procedure TMailMan.SetHeloHostname(AValue: string);
begin
  CkMailMan_put_HeloHostname(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetHttpProxyAuthMethod: string;
begin
  Result := CkToStr(CkMailMan_get_HttpProxyAuthMethod(FHandle));
end;

procedure TMailMan.SetHttpProxyAuthMethod(AValue: string);
begin
  CkMailMan_put_HttpProxyAuthMethod(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetHttpProxyDomain: string;
begin
  Result := CkToStr(CkMailMan_get_HttpProxyDomain(FHandle));
end;

procedure TMailMan.SetHttpProxyDomain(AValue: string);
begin
  CkMailMan_put_HttpProxyDomain(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetHttpProxyHostname: string;
begin
  Result := CkToStr(CkMailMan_get_HttpProxyHostname(FHandle));
end;

procedure TMailMan.SetHttpProxyHostname(AValue: string);
begin
  CkMailMan_put_HttpProxyHostname(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetHttpProxyPassword: string;
begin
  Result := CkToStr(CkMailMan_get_HttpProxyPassword(FHandle));
end;

procedure TMailMan.SetHttpProxyPassword(AValue: string);
begin
  CkMailMan_put_HttpProxyPassword(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetHttpProxyPort: Integer;
begin
  Result := CkMailMan_get_HttpProxyPort(FHandle);
end;

procedure TMailMan.SetHttpProxyPort(AValue: Integer);
begin
  CkMailMan_put_HttpProxyPort(FHandle, AValue);
end;

function TMailMan.GetHttpProxyUsername: string;
begin
  Result := CkToStr(CkMailMan_get_HttpProxyUsername(FHandle));
end;

procedure TMailMan.SetHttpProxyUsername(AValue: string);
begin
  CkMailMan_put_HttpProxyUsername(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetImmediateDelete: Boolean;
begin
  Result := Boolean(CkMailMan_get_ImmediateDelete(FHandle));
end;

procedure TMailMan.SetImmediateDelete(AValue: Boolean);
begin
  CkMailMan_put_ImmediateDelete(FHandle, LongBool(AValue));
end;

function TMailMan.GetIncludeRootCert: Boolean;
begin
  Result := Boolean(CkMailMan_get_IncludeRootCert(FHandle));
end;

procedure TMailMan.SetIncludeRootCert(AValue: Boolean);
begin
  CkMailMan_put_IncludeRootCert(FHandle, LongBool(AValue));
end;

function TMailMan.GetIsPop3Connected: Boolean;
begin
  Result := Boolean(CkMailMan_get_IsPop3Connected(FHandle));
end;

function TMailMan.GetIsSmtpConnected: Boolean;
begin
  Result := Boolean(CkMailMan_get_IsSmtpConnected(FHandle));
end;

function TMailMan.GetLastSmtpStatus: Integer;
begin
  Result := CkMailMan_get_LastSmtpStatus(FHandle);
end;

function TMailMan.GetLogMailReceivedFilename: string;
begin
  Result := CkToStr(CkMailMan_get_LogMailReceivedFilename(FHandle));
end;

procedure TMailMan.SetLogMailReceivedFilename(AValue: string);
begin
  CkMailMan_put_LogMailReceivedFilename(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetLogMailSentFilename: string;
begin
  Result := CkToStr(CkMailMan_get_LogMailSentFilename(FHandle));
end;

procedure TMailMan.SetLogMailSentFilename(AValue: string);
begin
  CkMailMan_put_LogMailSentFilename(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetMailHost: string;
begin
  Result := CkToStr(CkMailMan_get_MailHost(FHandle));
end;

procedure TMailMan.SetMailHost(AValue: string);
begin
  CkMailMan_put_MailHost(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetMailPort: Integer;
begin
  Result := CkMailMan_get_MailPort(FHandle);
end;

procedure TMailMan.SetMailPort(AValue: Integer);
begin
  CkMailMan_put_MailPort(FHandle, AValue);
end;

function TMailMan.GetMaxCount: Integer;
begin
  Result := CkMailMan_get_MaxCount(FHandle);
end;

procedure TMailMan.SetMaxCount(AValue: Integer);
begin
  CkMailMan_put_MaxCount(FHandle, AValue);
end;

function TMailMan.GetOAuth2AccessToken: string;
begin
  Result := CkToStr(CkMailMan_get_OAuth2AccessToken(FHandle));
end;

procedure TMailMan.SetOAuth2AccessToken(AValue: string);
begin
  CkMailMan_put_OAuth2AccessToken(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetOpaqueSigning: Boolean;
begin
  Result := Boolean(CkMailMan_get_OpaqueSigning(FHandle));
end;

procedure TMailMan.SetOpaqueSigning(AValue: Boolean);
begin
  CkMailMan_put_OpaqueSigning(FHandle, LongBool(AValue));
end;

function TMailMan.GetP7mEncryptAttachFilename: string;
begin
  Result := CkToStr(CkMailMan_get_P7mEncryptAttachFilename(FHandle));
end;

procedure TMailMan.SetP7mEncryptAttachFilename(AValue: string);
begin
  CkMailMan_put_P7mEncryptAttachFilename(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetP7mSigAttachFilename: string;
begin
  Result := CkToStr(CkMailMan_get_P7mSigAttachFilename(FHandle));
end;

procedure TMailMan.SetP7mSigAttachFilename(AValue: string);
begin
  CkMailMan_put_P7mSigAttachFilename(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetP7sSigAttachFilename: string;
begin
  Result := CkToStr(CkMailMan_get_P7sSigAttachFilename(FHandle));
end;

procedure TMailMan.SetP7sSigAttachFilename(AValue: string);
begin
  CkMailMan_put_P7sSigAttachFilename(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetPercentDoneScale: Integer;
begin
  Result := CkMailMan_get_PercentDoneScale(FHandle);
end;

procedure TMailMan.SetPercentDoneScale(AValue: Integer);
begin
  CkMailMan_put_PercentDoneScale(FHandle, AValue);
end;

function TMailMan.GetPop3SPA: Boolean;
begin
  Result := Boolean(CkMailMan_get_Pop3SPA(FHandle));
end;

procedure TMailMan.SetPop3SPA(AValue: Boolean);
begin
  CkMailMan_put_Pop3SPA(FHandle, LongBool(AValue));
end;

function TMailMan.GetPop3SessionId: Integer;
begin
  Result := CkMailMan_get_Pop3SessionId(FHandle);
end;

function TMailMan.GetPop3SessionLog: string;
begin
  Result := CkToStr(CkMailMan_get_Pop3SessionLog(FHandle));
end;

function TMailMan.GetPop3SslServerCertVerified: Boolean;
begin
  Result := Boolean(CkMailMan_get_Pop3SslServerCertVerified(FHandle));
end;

function TMailMan.GetPop3Stls: Boolean;
begin
  Result := Boolean(CkMailMan_get_Pop3Stls(FHandle));
end;

procedure TMailMan.SetPop3Stls(AValue: Boolean);
begin
  CkMailMan_put_Pop3Stls(FHandle, LongBool(AValue));
end;

function TMailMan.GetPopPassword: string;
begin
  Result := CkToStr(CkMailMan_get_PopPassword(FHandle));
end;

procedure TMailMan.SetPopPassword(AValue: string);
begin
  CkMailMan_put_PopPassword(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetPopPasswordBase64: string;
begin
  Result := CkToStr(CkMailMan_get_PopPasswordBase64(FHandle));
end;

procedure TMailMan.SetPopPasswordBase64(AValue: string);
begin
  CkMailMan_put_PopPasswordBase64(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetPopSsl: Boolean;
begin
  Result := Boolean(CkMailMan_get_PopSsl(FHandle));
end;

procedure TMailMan.SetPopSsl(AValue: Boolean);
begin
  CkMailMan_put_PopSsl(FHandle, LongBool(AValue));
end;

function TMailMan.GetPopUsername: string;
begin
  Result := CkToStr(CkMailMan_get_PopUsername(FHandle));
end;

procedure TMailMan.SetPopUsername(AValue: string);
begin
  CkMailMan_put_PopUsername(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetPreferIpv6: Boolean;
begin
  Result := Boolean(CkMailMan_get_PreferIpv6(FHandle));
end;

procedure TMailMan.SetPreferIpv6(AValue: Boolean);
begin
  CkMailMan_put_PreferIpv6(FHandle, LongBool(AValue));
end;

function TMailMan.GetReadTimeout: Integer;
begin
  Result := CkMailMan_get_ReadTimeout(FHandle);
end;

procedure TMailMan.SetReadTimeout(AValue: Integer);
begin
  CkMailMan_put_ReadTimeout(FHandle, AValue);
end;

function TMailMan.GetRequireSslCertVerify: Boolean;
begin
  Result := Boolean(CkMailMan_get_RequireSslCertVerify(FHandle));
end;

procedure TMailMan.SetRequireSslCertVerify(AValue: Boolean);
begin
  CkMailMan_put_RequireSslCertVerify(FHandle, LongBool(AValue));
end;

function TMailMan.GetResetDateOnLoad: Boolean;
begin
  Result := Boolean(CkMailMan_get_ResetDateOnLoad(FHandle));
end;

procedure TMailMan.SetResetDateOnLoad(AValue: Boolean);
begin
  CkMailMan_put_ResetDateOnLoad(FHandle, LongBool(AValue));
end;

function TMailMan.GetSendBufferSize: Integer;
begin
  Result := CkMailMan_get_SendBufferSize(FHandle);
end;

procedure TMailMan.SetSendBufferSize(AValue: Integer);
begin
  CkMailMan_put_SendBufferSize(FHandle, AValue);
end;

function TMailMan.GetSizeLimit: Integer;
begin
  Result := CkMailMan_get_SizeLimit(FHandle);
end;

procedure TMailMan.SetSizeLimit(AValue: Integer);
begin
  CkMailMan_put_SizeLimit(FHandle, AValue);
end;

function TMailMan.GetSmtpAuthMethod: string;
begin
  Result := CkToStr(CkMailMan_get_SmtpAuthMethod(FHandle));
end;

procedure TMailMan.SetSmtpAuthMethod(AValue: string);
begin
  CkMailMan_put_SmtpAuthMethod(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetSmtpFailReason: string;
begin
  Result := CkToStr(CkMailMan_get_SmtpFailReason(FHandle));
end;

function TMailMan.GetSmtpHost: string;
begin
  Result := CkToStr(CkMailMan_get_SmtpHost(FHandle));
end;

procedure TMailMan.SetSmtpHost(AValue: string);
begin
  CkMailMan_put_SmtpHost(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetSmtpLoginDomain: string;
begin
  Result := CkToStr(CkMailMan_get_SmtpLoginDomain(FHandle));
end;

procedure TMailMan.SetSmtpLoginDomain(AValue: string);
begin
  CkMailMan_put_SmtpLoginDomain(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetSmtpPassword: string;
begin
  Result := CkToStr(CkMailMan_get_SmtpPassword(FHandle));
end;

procedure TMailMan.SetSmtpPassword(AValue: string);
begin
  CkMailMan_put_SmtpPassword(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetSmtpPipelining: Boolean;
begin
  Result := Boolean(CkMailMan_get_SmtpPipelining(FHandle));
end;

procedure TMailMan.SetSmtpPipelining(AValue: Boolean);
begin
  CkMailMan_put_SmtpPipelining(FHandle, LongBool(AValue));
end;

function TMailMan.GetSmtpPort: Integer;
begin
  Result := CkMailMan_get_SmtpPort(FHandle);
end;

procedure TMailMan.SetSmtpPort(AValue: Integer);
begin
  CkMailMan_put_SmtpPort(FHandle, AValue);
end;

function TMailMan.GetSmtpSessionLog: string;
begin
  Result := CkToStr(CkMailMan_get_SmtpSessionLog(FHandle));
end;

function TMailMan.GetSmtpSsl: Boolean;
begin
  Result := Boolean(CkMailMan_get_SmtpSsl(FHandle));
end;

procedure TMailMan.SetSmtpSsl(AValue: Boolean);
begin
  CkMailMan_put_SmtpSsl(FHandle, LongBool(AValue));
end;

function TMailMan.GetSmtpSslServerCertVerified: Boolean;
begin
  Result := Boolean(CkMailMan_get_SmtpSslServerCertVerified(FHandle));
end;

function TMailMan.GetSmtpUsername: string;
begin
  Result := CkToStr(CkMailMan_get_SmtpUsername(FHandle));
end;

procedure TMailMan.SetSmtpUsername(AValue: string);
begin
  CkMailMan_put_SmtpUsername(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetSoRcvBuf: Integer;
begin
  Result := CkMailMan_get_SoRcvBuf(FHandle);
end;

procedure TMailMan.SetSoRcvBuf(AValue: Integer);
begin
  CkMailMan_put_SoRcvBuf(FHandle, AValue);
end;

function TMailMan.GetSoSndBuf: Integer;
begin
  Result := CkMailMan_get_SoSndBuf(FHandle);
end;

procedure TMailMan.SetSoSndBuf(AValue: Integer);
begin
  CkMailMan_put_SoSndBuf(FHandle, AValue);
end;

function TMailMan.GetSocksHostname: string;
begin
  Result := CkToStr(CkMailMan_get_SocksHostname(FHandle));
end;

procedure TMailMan.SetSocksHostname(AValue: string);
begin
  CkMailMan_put_SocksHostname(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetSocksPassword: string;
begin
  Result := CkToStr(CkMailMan_get_SocksPassword(FHandle));
end;

procedure TMailMan.SetSocksPassword(AValue: string);
begin
  CkMailMan_put_SocksPassword(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetSocksPort: Integer;
begin
  Result := CkMailMan_get_SocksPort(FHandle);
end;

procedure TMailMan.SetSocksPort(AValue: Integer);
begin
  CkMailMan_put_SocksPort(FHandle, AValue);
end;

function TMailMan.GetSocksUsername: string;
begin
  Result := CkToStr(CkMailMan_get_SocksUsername(FHandle));
end;

procedure TMailMan.SetSocksUsername(AValue: string);
begin
  CkMailMan_put_SocksUsername(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetSocksVersion: Integer;
begin
  Result := CkMailMan_get_SocksVersion(FHandle);
end;

procedure TMailMan.SetSocksVersion(AValue: Integer);
begin
  CkMailMan_put_SocksVersion(FHandle, AValue);
end;

function TMailMan.GetSslAllowedCiphers: string;
begin
  Result := CkToStr(CkMailMan_get_SslAllowedCiphers(FHandle));
end;

procedure TMailMan.SetSslAllowedCiphers(AValue: string);
begin
  CkMailMan_put_SslAllowedCiphers(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetSslProtocol: string;
begin
  Result := CkToStr(CkMailMan_get_SslProtocol(FHandle));
end;

procedure TMailMan.SetSslProtocol(AValue: string);
begin
  CkMailMan_put_SslProtocol(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetStartTLS: Boolean;
begin
  Result := Boolean(CkMailMan_get_StartTLS(FHandle));
end;

procedure TMailMan.SetStartTLS(AValue: Boolean);
begin
  CkMailMan_put_StartTLS(FHandle, LongBool(AValue));
end;

function TMailMan.GetTlsCipherSuite: string;
begin
  Result := CkToStr(CkMailMan_get_TlsCipherSuite(FHandle));
end;

function TMailMan.GetTlsPinSet: string;
begin
  Result := CkToStr(CkMailMan_get_TlsPinSet(FHandle));
end;

procedure TMailMan.SetTlsPinSet(AValue: string);
begin
  CkMailMan_put_TlsPinSet(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetTlsVersion: string;
begin
  Result := CkToStr(CkMailMan_get_TlsVersion(FHandle));
end;

function TMailMan.GetUseApop: Boolean;
begin
  Result := Boolean(CkMailMan_get_UseApop(FHandle));
end;

procedure TMailMan.SetUseApop(AValue: Boolean);
begin
  CkMailMan_put_UseApop(FHandle, LongBool(AValue));
end;

function TMailMan.GetStartTLSifPossible: Boolean;
begin
  Result := Boolean(CkMailMan_get_StartTLSifPossible(FHandle));
end;

procedure TMailMan.SetStartTLSifPossible(AValue: Boolean);
begin
  CkMailMan_put_StartTLSifPossible(FHandle, LongBool(AValue));
end;

function TMailMan.GetUncommonOptions: string;
begin
  Result := CkToStr(CkMailMan_get_UncommonOptions(FHandle));
end;

procedure TMailMan.SetUncommonOptions(AValue: string);
begin
  CkMailMan_put_UncommonOptions(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetLastSmtpStatusMsg: string;
begin
  Result := CkToStr(CkMailMan_get_LastSmtpStatusMsg(FHandle));
end;

function TMailMan.GetPop3StlsIfPossible: Boolean;
begin
  Result := Boolean(CkMailMan_get_Pop3StlsIfPossible(FHandle));
end;

procedure TMailMan.SetPop3StlsIfPossible(AValue: Boolean);
begin
  CkMailMan_put_Pop3StlsIfPossible(FHandle, LongBool(AValue));
end;

function TMailMan.GetSmtpMailFrom: string;
begin
  Result := CkToStr(CkMailMan_get_SmtpMailFrom(FHandle));
end;

procedure TMailMan.SetSmtpMailFrom(AValue: string);
begin
  CkMailMan_put_SmtpMailFrom(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.GetEnableSecrets: Boolean;
begin
  Result := Boolean(CkMailMan_get_EnableSecrets(FHandle));
end;

procedure TMailMan.SetEnableSecrets(AValue: Boolean);
begin
  CkMailMan_put_EnableSecrets(FHandle, LongBool(AValue));
end;

function TMailMan.GetRequireHostnameMatch: Boolean;
begin
  Result := Boolean(CkMailMan_get_RequireHostnameMatch(FHandle));
end;

procedure TMailMan.SetRequireHostnameMatch(AValue: Boolean);
begin
  CkMailMan_put_RequireHostnameMatch(FHandle, LongBool(AValue));
end;

function TMailMan.GetSniHostname: string;
begin
  Result := CkToStr(CkMailMan_get_SniHostname(FHandle));
end;

procedure TMailMan.SetSniHostname(AValue: string);
begin
  CkMailMan_put_SniHostname(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TMailMan.AddPfxSourceFile(const pfxFilePath: string; const password: string): Boolean;
begin
  Result := Boolean(CkMailMan_AddPfxSourceFile(FHandle, PAnsiChar(StrToCk(pfxFilePath)), PAnsiChar(StrToCk(password))));
end;

function TMailMan.CheckMail: Integer;
begin
  Result := CkMailMan_CheckMail(FHandle);
end;

procedure TMailMan.ClearPop3SessionLog;
begin
  CkMailMan_ClearPop3SessionLog(FHandle);
end;

procedure TMailMan.ClearSmtpSessionLog;
begin
  CkMailMan_ClearSmtpSessionLog(FHandle);
end;

function TMailMan.CloseSmtpConnection: Boolean;
begin
  Result := Boolean(CkMailMan_CloseSmtpConnection(FHandle));
end;

function TMailMan.DeleteBundle(emailBundle: TChilkatBase): Boolean;
begin
  Result := Boolean(CkMailMan_DeleteBundle(FHandle, emailBundle.Handle));
end;

function TMailMan.DeleteByMsgnum(msgnum: Integer): Boolean;
begin
  Result := Boolean(CkMailMan_DeleteByMsgnum(FHandle, msgnum));
end;

function TMailMan.DeleteByUidl(const uidl: string): Boolean;
begin
  Result := Boolean(CkMailMan_DeleteByUidl(FHandle, PAnsiChar(StrToCk(uidl))));
end;

function TMailMan.DeleteEmail(email: TChilkatBase): Boolean;
begin
  Result := Boolean(CkMailMan_DeleteEmail(FHandle, email.Handle));
end;

function TMailMan.GetMailboxCount: Integer;
begin
  Result := CkMailMan_GetMailboxCount(FHandle);
end;

function TMailMan.GetMailboxInfoXml: string;
begin
  Result := CkToStr(CkMailMan_GetMailboxInfoXml(FHandle));
end;

function TMailMan.GetMailboxSize: LongWord;
begin
  Result := CkMailMan_GetMailboxSize(FHandle);
end;

function TMailMan.GetSizeByUidl(const uidl: string): Integer;
begin
  Result := CkMailMan_GetSizeByUidl(FHandle, PAnsiChar(StrToCk(uidl)));
end;

function TMailMan.IsSmtpDsnCapable: Boolean;
begin
  Result := Boolean(CkMailMan_IsSmtpDsnCapable(FHandle));
end;

function TMailMan.OpenSmtpConnection: Boolean;
begin
  Result := Boolean(CkMailMan_OpenSmtpConnection(FHandle));
end;

function TMailMan.Pop3Authenticate: Boolean;
begin
  Result := Boolean(CkMailMan_Pop3Authenticate(FHandle));
end;

function TMailMan.Pop3BeginSession: Boolean;
begin
  Result := Boolean(CkMailMan_Pop3BeginSession(FHandle));
end;

function TMailMan.Pop3Connect: Boolean;
begin
  Result := Boolean(CkMailMan_Pop3Connect(FHandle));
end;

function TMailMan.Pop3EndSession: Boolean;
begin
  Result := Boolean(CkMailMan_Pop3EndSession(FHandle));
end;

function TMailMan.Pop3EndSessionNoQuit: Boolean;
begin
  Result := Boolean(CkMailMan_Pop3EndSessionNoQuit(FHandle));
end;

function TMailMan.Pop3Noop: Boolean;
begin
  Result := Boolean(CkMailMan_Pop3Noop(FHandle));
end;

function TMailMan.Pop3Reset: Boolean;
begin
  Result := Boolean(CkMailMan_Pop3Reset(FHandle));
end;

function TMailMan.Pop3SendRawCommand(const command: string; const charset: string): string;
begin
  Result := CkToStr(CkMailMan_Pop3SendRawCommand(FHandle, PAnsiChar(StrToCk(command)), PAnsiChar(StrToCk(charset))));
end;

function TMailMan.QuickSend(const fromAddr: string; const toAddr: string; const subject: string; const body: string; const smtpServer: string): Boolean;
begin
  Result := Boolean(CkMailMan_QuickSend(FHandle, PAnsiChar(StrToCk(fromAddr)), PAnsiChar(StrToCk(toAddr)), PAnsiChar(StrToCk(subject)), PAnsiChar(StrToCk(body)), PAnsiChar(StrToCk(smtpServer))));
end;

function TMailMan.RenderToMime(email: TChilkatBase): string;
begin
  Result := CkToStr(CkMailMan_RenderToMime(FHandle, email.Handle));
end;

function TMailMan.SendBundle(bundle: TChilkatBase): Boolean;
begin
  Result := Boolean(CkMailMan_SendBundle(FHandle, bundle.Handle));
end;

function TMailMan.SendEmail(email: TChilkatBase): Boolean;
begin
  Result := Boolean(CkMailMan_SendEmail(FHandle, email.Handle));
end;

function TMailMan.SendMime(const fromAddr: string; const recipients: string; const mimeSource: string): Boolean;
begin
  Result := Boolean(CkMailMan_SendMime(FHandle, PAnsiChar(StrToCk(fromAddr)), PAnsiChar(StrToCk(recipients)), PAnsiChar(StrToCk(mimeSource))));
end;

function TMailMan.SetDecryptCert(cert: TChilkatBase): Boolean;
begin
  Result := Boolean(CkMailMan_SetDecryptCert(FHandle, cert.Handle));
end;

function TMailMan.SetDecryptCert2(cert: TChilkatBase; privateKey: TChilkatBase): Boolean;
begin
  Result := Boolean(CkMailMan_SetDecryptCert2(FHandle, cert.Handle, privateKey.Handle));
end;

function TMailMan.SetSslClientCert(cert: TChilkatBase): Boolean;
begin
  Result := Boolean(CkMailMan_SetSslClientCert(FHandle, cert.Handle));
end;

function TMailMan.SetSslClientCertPem(const pemDataOrFilename: string; const pemPassword: string): Boolean;
begin
  Result := Boolean(CkMailMan_SetSslClientCertPem(FHandle, PAnsiChar(StrToCk(pemDataOrFilename)), PAnsiChar(StrToCk(pemPassword))));
end;

function TMailMan.SetSslClientCertPfx(const pfxPath: string; const pfxPassword: string): Boolean;
begin
  Result := Boolean(CkMailMan_SetSslClientCertPfx(FHandle, PAnsiChar(StrToCk(pfxPath)), PAnsiChar(StrToCk(pfxPassword))));
end;

function TMailMan.SmtpAuthenticate: Boolean;
begin
  Result := Boolean(CkMailMan_SmtpAuthenticate(FHandle));
end;

function TMailMan.SmtpConnect: Boolean;
begin
  Result := Boolean(CkMailMan_SmtpConnect(FHandle));
end;

function TMailMan.SmtpNoop: Boolean;
begin
  Result := Boolean(CkMailMan_SmtpNoop(FHandle));
end;

function TMailMan.SmtpReset: Boolean;
begin
  Result := Boolean(CkMailMan_SmtpReset(FHandle));
end;

function TMailMan.SmtpSendRawCommand(const command: string; const charset: string; bEncodeBase64: Boolean): string;
begin
  Result := CkToStr(CkMailMan_SmtpSendRawCommand(FHandle, PAnsiChar(StrToCk(command)), PAnsiChar(StrToCk(charset)), LongBool(bEncodeBase64)));
end;

function TMailMan.SshAuthenticatePk(const sshLogin: string; privKey: TChilkatBase): Boolean;
begin
  Result := Boolean(CkMailMan_SshAuthenticatePk(FHandle, PAnsiChar(StrToCk(sshLogin)), privKey.Handle));
end;

function TMailMan.SshAuthenticatePw(const sshLogin: string; const sshPassword: string): Boolean;
begin
  Result := Boolean(CkMailMan_SshAuthenticatePw(FHandle, PAnsiChar(StrToCk(sshLogin)), PAnsiChar(StrToCk(sshPassword))));
end;

function TMailMan.SshCloseTunnel: Boolean;
begin
  Result := Boolean(CkMailMan_SshCloseTunnel(FHandle));
end;

function TMailMan.SshOpenTunnel(const sshHostname: string; sshPort: Integer): Boolean;
begin
  Result := Boolean(CkMailMan_SshOpenTunnel(FHandle, PAnsiChar(StrToCk(sshHostname)), sshPort));
end;

function TMailMan.UseCertVault(vault: TChilkatBase): Boolean;
begin
  Result := Boolean(CkMailMan_UseCertVault(FHandle, vault.Handle));
end;

function TMailMan.UseSsh(ssh: TChilkatBase): Boolean;
begin
  Result := Boolean(CkMailMan_UseSsh(FHandle, ssh.Handle));
end;

function TMailMan.UseSshTunnel(tunnel: TChilkatBase): Boolean;
begin
  Result := Boolean(CkMailMan_UseSshTunnel(FHandle, tunnel.Handle));
end;

function TMailMan.VerifyPopConnection: Boolean;
begin
  Result := Boolean(CkMailMan_VerifyPopConnection(FHandle));
end;

function TMailMan.VerifyPopLogin: Boolean;
begin
  Result := Boolean(CkMailMan_VerifyPopLogin(FHandle));
end;

function TMailMan.VerifyRecips(email: TChilkatBase; badAddrs: TChilkatBase): Boolean;
begin
  Result := Boolean(CkMailMan_VerifyRecips(FHandle, email.Handle, badAddrs.Handle));
end;

function TMailMan.VerifySmtpConnection: Boolean;
begin
  Result := Boolean(CkMailMan_VerifySmtpConnection(FHandle));
end;

function TMailMan.VerifySmtpLogin: Boolean;
begin
  Result := Boolean(CkMailMan_VerifySmtpLogin(FHandle));
end;

function TMailMan.RenderToMimeSb(email: TChilkatBase; renderedMime: TChilkatBase): Boolean;
begin
  Result := Boolean(CkMailMan_RenderToMimeSb(FHandle, email.Handle, renderedMime.Handle));
end;

function TMailMan.RenderToMimeBd(email: TChilkatBase; renderedMime: TChilkatBase): Boolean;
begin
  Result := Boolean(CkMailMan_RenderToMimeBd(FHandle, email.Handle, renderedMime.Handle));
end;

function TMailMan.SetPassword(const protocol: string; password: TChilkatBase): Boolean;
begin
  Result := Boolean(CkMailMan_SetPassword(FHandle, PAnsiChar(StrToCk(protocol)), password.Handle));
end;

function TMailMan.SendMimeBd(const fromAddr: string; const recipients: string; mimeData: TChilkatBase): Boolean;
begin
  Result := Boolean(CkMailMan_SendMimeBd(FHandle, PAnsiChar(StrToCk(fromAddr)), PAnsiChar(StrToCk(recipients)), mimeData.Handle));
end;

function TMailMan.FetchMimeBd(const uidl: string; mimeData: TChilkatBase): Boolean;
begin
  Result := Boolean(CkMailMan_FetchMimeBd(FHandle, PAnsiChar(StrToCk(uidl)), mimeData.Handle));
end;

procedure TMailMan.GetLastJsonData(json: TChilkatBase);
begin
  CkMailMan_GetLastJsonData(FHandle, json.Handle);
end;

function TMailMan.GetServerCert(useSmtp: Boolean; cert: TChilkatBase): Boolean;
begin
  Result := Boolean(CkMailMan_GetServerCert(FHandle, LongBool(useSmtp), cert.Handle));
end;

function TMailMan.FetchAll(keepOnServer: Boolean; headersOnly: Boolean; numBodyLines: Integer; bundle: TChilkatBase): Boolean;
begin
  Result := Boolean(CkMailMan_FetchAll(FHandle, LongBool(keepOnServer), LongBool(headersOnly), numBodyLines, bundle.Handle));
end;

function TMailMan.FetchRange(keepOnServer: Boolean; headersOnly: Boolean; numBodyLines: Integer; startIndex: Integer; endIndex: Integer; bundle: TChilkatBase): Boolean;
begin
  Result := Boolean(CkMailMan_FetchRange(FHandle, LongBool(keepOnServer), LongBool(headersOnly), numBodyLines, startIndex, endIndex, bundle.Handle));
end;

function TMailMan.FetchOne(headerOnly: Boolean; numBodyLines: Integer; msgNum: Integer; email: TChilkatBase): Boolean;
begin
  Result := Boolean(CkMailMan_FetchOne(FHandle, LongBool(headerOnly), numBodyLines, msgNum, email.Handle));
end;

function TMailMan.FetchByUidl(const uidl: string; headerOnly: Boolean; numBodyLines: Integer; email: TChilkatBase): Boolean;
begin
  Result := Boolean(CkMailMan_FetchByUidl(FHandle, PAnsiChar(StrToCk(uidl)), LongBool(headerOnly), numBodyLines, email.Handle));
end;

function TMailMan.FetchUidlSet(uidls: TChilkatBase; headersOnly: Boolean; numBodyLines: Integer; bundle: TChilkatBase): Boolean;
begin
  Result := Boolean(CkMailMan_FetchUidlSet(FHandle, uidls.Handle, LongBool(headersOnly), numBodyLines, bundle.Handle));
end;

function TMailMan.FetchFull(partialEmail: TChilkatBase; fullEmail: TChilkatBase): Boolean;
begin
  Result := Boolean(CkMailMan_FetchFull(FHandle, partialEmail.Handle, fullEmail.Handle));
end;

function TMailMan.LoadMbxFile(const mbxPath: string; bundle: TChilkatBase): Boolean;
begin
  Result := Boolean(CkMailMan_LoadMbxFile(FHandle, PAnsiChar(StrToCk(mbxPath)), bundle.Handle));
end;

function TMailMan.FetchUidls(uidls: TChilkatBase): Boolean;
begin
  Result := Boolean(CkMailMan_FetchUidls(FHandle, uidls.Handle));
end;

function TMailMan.AddPfxSourceBd(bd: TChilkatBase; const password: string): Boolean;
begin
  Result := Boolean(CkMailMan_AddPfxSourceBd(FHandle, bd.Handle, PAnsiChar(StrToCk(password))));
end;

function TMailMan.FetchMimeByMsgnumBd(msgnum: Integer; bd: TChilkatBase): Boolean;
begin
  Result := Boolean(CkMailMan_FetchMimeByMsgnumBd(FHandle, msgnum, bd.Handle));
end;

function TMailMan.DeleteUidlSet(stUidls: TChilkatBase): Boolean;
begin
  Result := Boolean(CkMailMan_DeleteUidlSet(FHandle, stUidls.Handle));
end;

initialization
  Chilkat_GetProcedureAddress(CkMailMan_Create,  'CkMailMan_Create');
  Chilkat_GetProcedureAddress(CkMailMan_Dispose, 'CkMailMan_Dispose');
  Chilkat_GetProcedureAddress(CkMailMan_SetAbortCheckCallback, 'CkMailMan_SetAbortCheckCallback');
  Chilkat_GetProcedureAddress(CkMailMan_SetPercentDoneCallback, 'CkMailMan_SetPercentDoneCallback');
  Chilkat_GetProcedureAddress(CkMailMan_SetProgressInfoCallback, 'CkMailMan_SetProgressInfoCallback');
  Chilkat_GetProcedureAddress(CkMailMan_get_LastErrorHtml, 'CkMailMan_get_LastErrorHtml');
  Chilkat_GetProcedureAddress(CkMailMan_get_LastErrorText, 'CkMailMan_get_LastErrorText');
  Chilkat_GetProcedureAddress(CkMailMan_get_LastErrorXml, 'CkMailMan_get_LastErrorXml');
  Chilkat_GetProcedureAddress(CkMailMan_get_Version, 'CkMailMan_get_Version');
  Chilkat_GetProcedureAddress(CkMailMan_get_DebugLogFilePath, 'CkMailMan_get_DebugLogFilePath');
  Chilkat_GetProcedureAddress(CkMailMan_put_DebugLogFilePath, 'CkMailMan_put_DebugLogFilePath');
  Chilkat_GetProcedureAddress(CkMailMan_get_VerboseLogging, 'CkMailMan_get_VerboseLogging');
  Chilkat_GetProcedureAddress(CkMailMan_put_VerboseLogging, 'CkMailMan_put_VerboseLogging');
  Chilkat_GetProcedureAddress(CkMailMan_get_LastMethodSuccess, 'CkMailMan_get_LastMethodSuccess');
  Chilkat_GetProcedureAddress(CkMailMan_put_LastMethodSuccess, 'CkMailMan_put_LastMethodSuccess');
  Chilkat_GetProcedureAddress(CkMailMan_get_AbortCurrent, 'CkMailMan_get_AbortCurrent');
  Chilkat_GetProcedureAddress(CkMailMan_put_AbortCurrent, 'CkMailMan_put_AbortCurrent');
  Chilkat_GetProcedureAddress(CkMailMan_get_AllOrNone, 'CkMailMan_get_AllOrNone');
  Chilkat_GetProcedureAddress(CkMailMan_put_AllOrNone, 'CkMailMan_put_AllOrNone');
  Chilkat_GetProcedureAddress(CkMailMan_get_AutoFix, 'CkMailMan_get_AutoFix');
  Chilkat_GetProcedureAddress(CkMailMan_put_AutoFix, 'CkMailMan_put_AutoFix');
  Chilkat_GetProcedureAddress(CkMailMan_get_AutoGenMessageId, 'CkMailMan_get_AutoGenMessageId');
  Chilkat_GetProcedureAddress(CkMailMan_put_AutoGenMessageId, 'CkMailMan_put_AutoGenMessageId');
  Chilkat_GetProcedureAddress(CkMailMan_get_AutoSmtpRset, 'CkMailMan_get_AutoSmtpRset');
  Chilkat_GetProcedureAddress(CkMailMan_put_AutoSmtpRset, 'CkMailMan_put_AutoSmtpRset');
  Chilkat_GetProcedureAddress(CkMailMan_get_AutoUnwrapSecurity, 'CkMailMan_get_AutoUnwrapSecurity');
  Chilkat_GetProcedureAddress(CkMailMan_put_AutoUnwrapSecurity, 'CkMailMan_put_AutoUnwrapSecurity');
  Chilkat_GetProcedureAddress(CkMailMan_get_ClientIpAddress, 'CkMailMan_get_ClientIpAddress');
  Chilkat_GetProcedureAddress(CkMailMan_put_ClientIpAddress, 'CkMailMan_put_ClientIpAddress');
  Chilkat_GetProcedureAddress(CkMailMan_get_ConnectFailReason, 'CkMailMan_get_ConnectFailReason');
  Chilkat_GetProcedureAddress(CkMailMan_get_ConnectTimeout, 'CkMailMan_get_ConnectTimeout');
  Chilkat_GetProcedureAddress(CkMailMan_put_ConnectTimeout, 'CkMailMan_put_ConnectTimeout');
  Chilkat_GetProcedureAddress(CkMailMan_get_DsnEnvid, 'CkMailMan_get_DsnEnvid');
  Chilkat_GetProcedureAddress(CkMailMan_put_DsnEnvid, 'CkMailMan_put_DsnEnvid');
  Chilkat_GetProcedureAddress(CkMailMan_get_DsnNotify, 'CkMailMan_get_DsnNotify');
  Chilkat_GetProcedureAddress(CkMailMan_put_DsnNotify, 'CkMailMan_put_DsnNotify');
  Chilkat_GetProcedureAddress(CkMailMan_get_DsnRet, 'CkMailMan_get_DsnRet');
  Chilkat_GetProcedureAddress(CkMailMan_put_DsnRet, 'CkMailMan_put_DsnRet');
  Chilkat_GetProcedureAddress(CkMailMan_get_EmbedCertChain, 'CkMailMan_get_EmbedCertChain');
  Chilkat_GetProcedureAddress(CkMailMan_put_EmbedCertChain, 'CkMailMan_put_EmbedCertChain');
  Chilkat_GetProcedureAddress(CkMailMan_get_Filter, 'CkMailMan_get_Filter');
  Chilkat_GetProcedureAddress(CkMailMan_put_Filter, 'CkMailMan_put_Filter');
  Chilkat_GetProcedureAddress(CkMailMan_get_HeartbeatMs, 'CkMailMan_get_HeartbeatMs');
  Chilkat_GetProcedureAddress(CkMailMan_put_HeartbeatMs, 'CkMailMan_put_HeartbeatMs');
  Chilkat_GetProcedureAddress(CkMailMan_get_HeloHostname, 'CkMailMan_get_HeloHostname');
  Chilkat_GetProcedureAddress(CkMailMan_put_HeloHostname, 'CkMailMan_put_HeloHostname');
  Chilkat_GetProcedureAddress(CkMailMan_get_HttpProxyAuthMethod, 'CkMailMan_get_HttpProxyAuthMethod');
  Chilkat_GetProcedureAddress(CkMailMan_put_HttpProxyAuthMethod, 'CkMailMan_put_HttpProxyAuthMethod');
  Chilkat_GetProcedureAddress(CkMailMan_get_HttpProxyDomain, 'CkMailMan_get_HttpProxyDomain');
  Chilkat_GetProcedureAddress(CkMailMan_put_HttpProxyDomain, 'CkMailMan_put_HttpProxyDomain');
  Chilkat_GetProcedureAddress(CkMailMan_get_HttpProxyHostname, 'CkMailMan_get_HttpProxyHostname');
  Chilkat_GetProcedureAddress(CkMailMan_put_HttpProxyHostname, 'CkMailMan_put_HttpProxyHostname');
  Chilkat_GetProcedureAddress(CkMailMan_get_HttpProxyPassword, 'CkMailMan_get_HttpProxyPassword');
  Chilkat_GetProcedureAddress(CkMailMan_put_HttpProxyPassword, 'CkMailMan_put_HttpProxyPassword');
  Chilkat_GetProcedureAddress(CkMailMan_get_HttpProxyPort, 'CkMailMan_get_HttpProxyPort');
  Chilkat_GetProcedureAddress(CkMailMan_put_HttpProxyPort, 'CkMailMan_put_HttpProxyPort');
  Chilkat_GetProcedureAddress(CkMailMan_get_HttpProxyUsername, 'CkMailMan_get_HttpProxyUsername');
  Chilkat_GetProcedureAddress(CkMailMan_put_HttpProxyUsername, 'CkMailMan_put_HttpProxyUsername');
  Chilkat_GetProcedureAddress(CkMailMan_get_ImmediateDelete, 'CkMailMan_get_ImmediateDelete');
  Chilkat_GetProcedureAddress(CkMailMan_put_ImmediateDelete, 'CkMailMan_put_ImmediateDelete');
  Chilkat_GetProcedureAddress(CkMailMan_get_IncludeRootCert, 'CkMailMan_get_IncludeRootCert');
  Chilkat_GetProcedureAddress(CkMailMan_put_IncludeRootCert, 'CkMailMan_put_IncludeRootCert');
  Chilkat_GetProcedureAddress(CkMailMan_get_IsPop3Connected, 'CkMailMan_get_IsPop3Connected');
  Chilkat_GetProcedureAddress(CkMailMan_get_IsSmtpConnected, 'CkMailMan_get_IsSmtpConnected');
  Chilkat_GetProcedureAddress(CkMailMan_get_LastSmtpStatus, 'CkMailMan_get_LastSmtpStatus');
  Chilkat_GetProcedureAddress(CkMailMan_get_LogMailReceivedFilename, 'CkMailMan_get_LogMailReceivedFilename');
  Chilkat_GetProcedureAddress(CkMailMan_put_LogMailReceivedFilename, 'CkMailMan_put_LogMailReceivedFilename');
  Chilkat_GetProcedureAddress(CkMailMan_get_LogMailSentFilename, 'CkMailMan_get_LogMailSentFilename');
  Chilkat_GetProcedureAddress(CkMailMan_put_LogMailSentFilename, 'CkMailMan_put_LogMailSentFilename');
  Chilkat_GetProcedureAddress(CkMailMan_get_MailHost, 'CkMailMan_get_MailHost');
  Chilkat_GetProcedureAddress(CkMailMan_put_MailHost, 'CkMailMan_put_MailHost');
  Chilkat_GetProcedureAddress(CkMailMan_get_MailPort, 'CkMailMan_get_MailPort');
  Chilkat_GetProcedureAddress(CkMailMan_put_MailPort, 'CkMailMan_put_MailPort');
  Chilkat_GetProcedureAddress(CkMailMan_get_MaxCount, 'CkMailMan_get_MaxCount');
  Chilkat_GetProcedureAddress(CkMailMan_put_MaxCount, 'CkMailMan_put_MaxCount');
  Chilkat_GetProcedureAddress(CkMailMan_get_OAuth2AccessToken, 'CkMailMan_get_OAuth2AccessToken');
  Chilkat_GetProcedureAddress(CkMailMan_put_OAuth2AccessToken, 'CkMailMan_put_OAuth2AccessToken');
  Chilkat_GetProcedureAddress(CkMailMan_get_OpaqueSigning, 'CkMailMan_get_OpaqueSigning');
  Chilkat_GetProcedureAddress(CkMailMan_put_OpaqueSigning, 'CkMailMan_put_OpaqueSigning');
  Chilkat_GetProcedureAddress(CkMailMan_get_P7mEncryptAttachFilename, 'CkMailMan_get_P7mEncryptAttachFilename');
  Chilkat_GetProcedureAddress(CkMailMan_put_P7mEncryptAttachFilename, 'CkMailMan_put_P7mEncryptAttachFilename');
  Chilkat_GetProcedureAddress(CkMailMan_get_P7mSigAttachFilename, 'CkMailMan_get_P7mSigAttachFilename');
  Chilkat_GetProcedureAddress(CkMailMan_put_P7mSigAttachFilename, 'CkMailMan_put_P7mSigAttachFilename');
  Chilkat_GetProcedureAddress(CkMailMan_get_P7sSigAttachFilename, 'CkMailMan_get_P7sSigAttachFilename');
  Chilkat_GetProcedureAddress(CkMailMan_put_P7sSigAttachFilename, 'CkMailMan_put_P7sSigAttachFilename');
  Chilkat_GetProcedureAddress(CkMailMan_get_PercentDoneScale, 'CkMailMan_get_PercentDoneScale');
  Chilkat_GetProcedureAddress(CkMailMan_put_PercentDoneScale, 'CkMailMan_put_PercentDoneScale');
  Chilkat_GetProcedureAddress(CkMailMan_get_Pop3SPA, 'CkMailMan_get_Pop3SPA');
  Chilkat_GetProcedureAddress(CkMailMan_put_Pop3SPA, 'CkMailMan_put_Pop3SPA');
  Chilkat_GetProcedureAddress(CkMailMan_get_Pop3SessionId, 'CkMailMan_get_Pop3SessionId');
  Chilkat_GetProcedureAddress(CkMailMan_get_Pop3SessionLog, 'CkMailMan_get_Pop3SessionLog');
  Chilkat_GetProcedureAddress(CkMailMan_get_Pop3SslServerCertVerified, 'CkMailMan_get_Pop3SslServerCertVerified');
  Chilkat_GetProcedureAddress(CkMailMan_get_Pop3Stls, 'CkMailMan_get_Pop3Stls');
  Chilkat_GetProcedureAddress(CkMailMan_put_Pop3Stls, 'CkMailMan_put_Pop3Stls');
  Chilkat_GetProcedureAddress(CkMailMan_get_PopPassword, 'CkMailMan_get_PopPassword');
  Chilkat_GetProcedureAddress(CkMailMan_put_PopPassword, 'CkMailMan_put_PopPassword');
  Chilkat_GetProcedureAddress(CkMailMan_get_PopPasswordBase64, 'CkMailMan_get_PopPasswordBase64');
  Chilkat_GetProcedureAddress(CkMailMan_put_PopPasswordBase64, 'CkMailMan_put_PopPasswordBase64');
  Chilkat_GetProcedureAddress(CkMailMan_get_PopSsl, 'CkMailMan_get_PopSsl');
  Chilkat_GetProcedureAddress(CkMailMan_put_PopSsl, 'CkMailMan_put_PopSsl');
  Chilkat_GetProcedureAddress(CkMailMan_get_PopUsername, 'CkMailMan_get_PopUsername');
  Chilkat_GetProcedureAddress(CkMailMan_put_PopUsername, 'CkMailMan_put_PopUsername');
  Chilkat_GetProcedureAddress(CkMailMan_get_PreferIpv6, 'CkMailMan_get_PreferIpv6');
  Chilkat_GetProcedureAddress(CkMailMan_put_PreferIpv6, 'CkMailMan_put_PreferIpv6');
  Chilkat_GetProcedureAddress(CkMailMan_get_ReadTimeout, 'CkMailMan_get_ReadTimeout');
  Chilkat_GetProcedureAddress(CkMailMan_put_ReadTimeout, 'CkMailMan_put_ReadTimeout');
  Chilkat_GetProcedureAddress(CkMailMan_get_RequireSslCertVerify, 'CkMailMan_get_RequireSslCertVerify');
  Chilkat_GetProcedureAddress(CkMailMan_put_RequireSslCertVerify, 'CkMailMan_put_RequireSslCertVerify');
  Chilkat_GetProcedureAddress(CkMailMan_get_ResetDateOnLoad, 'CkMailMan_get_ResetDateOnLoad');
  Chilkat_GetProcedureAddress(CkMailMan_put_ResetDateOnLoad, 'CkMailMan_put_ResetDateOnLoad');
  Chilkat_GetProcedureAddress(CkMailMan_get_SendBufferSize, 'CkMailMan_get_SendBufferSize');
  Chilkat_GetProcedureAddress(CkMailMan_put_SendBufferSize, 'CkMailMan_put_SendBufferSize');
  Chilkat_GetProcedureAddress(CkMailMan_get_SizeLimit, 'CkMailMan_get_SizeLimit');
  Chilkat_GetProcedureAddress(CkMailMan_put_SizeLimit, 'CkMailMan_put_SizeLimit');
  Chilkat_GetProcedureAddress(CkMailMan_get_SmtpAuthMethod, 'CkMailMan_get_SmtpAuthMethod');
  Chilkat_GetProcedureAddress(CkMailMan_put_SmtpAuthMethod, 'CkMailMan_put_SmtpAuthMethod');
  Chilkat_GetProcedureAddress(CkMailMan_get_SmtpFailReason, 'CkMailMan_get_SmtpFailReason');
  Chilkat_GetProcedureAddress(CkMailMan_get_SmtpHost, 'CkMailMan_get_SmtpHost');
  Chilkat_GetProcedureAddress(CkMailMan_put_SmtpHost, 'CkMailMan_put_SmtpHost');
  Chilkat_GetProcedureAddress(CkMailMan_get_SmtpLoginDomain, 'CkMailMan_get_SmtpLoginDomain');
  Chilkat_GetProcedureAddress(CkMailMan_put_SmtpLoginDomain, 'CkMailMan_put_SmtpLoginDomain');
  Chilkat_GetProcedureAddress(CkMailMan_get_SmtpPassword, 'CkMailMan_get_SmtpPassword');
  Chilkat_GetProcedureAddress(CkMailMan_put_SmtpPassword, 'CkMailMan_put_SmtpPassword');
  Chilkat_GetProcedureAddress(CkMailMan_get_SmtpPipelining, 'CkMailMan_get_SmtpPipelining');
  Chilkat_GetProcedureAddress(CkMailMan_put_SmtpPipelining, 'CkMailMan_put_SmtpPipelining');
  Chilkat_GetProcedureAddress(CkMailMan_get_SmtpPort, 'CkMailMan_get_SmtpPort');
  Chilkat_GetProcedureAddress(CkMailMan_put_SmtpPort, 'CkMailMan_put_SmtpPort');
  Chilkat_GetProcedureAddress(CkMailMan_get_SmtpSessionLog, 'CkMailMan_get_SmtpSessionLog');
  Chilkat_GetProcedureAddress(CkMailMan_get_SmtpSsl, 'CkMailMan_get_SmtpSsl');
  Chilkat_GetProcedureAddress(CkMailMan_put_SmtpSsl, 'CkMailMan_put_SmtpSsl');
  Chilkat_GetProcedureAddress(CkMailMan_get_SmtpSslServerCertVerified, 'CkMailMan_get_SmtpSslServerCertVerified');
  Chilkat_GetProcedureAddress(CkMailMan_get_SmtpUsername, 'CkMailMan_get_SmtpUsername');
  Chilkat_GetProcedureAddress(CkMailMan_put_SmtpUsername, 'CkMailMan_put_SmtpUsername');
  Chilkat_GetProcedureAddress(CkMailMan_get_SoRcvBuf, 'CkMailMan_get_SoRcvBuf');
  Chilkat_GetProcedureAddress(CkMailMan_put_SoRcvBuf, 'CkMailMan_put_SoRcvBuf');
  Chilkat_GetProcedureAddress(CkMailMan_get_SoSndBuf, 'CkMailMan_get_SoSndBuf');
  Chilkat_GetProcedureAddress(CkMailMan_put_SoSndBuf, 'CkMailMan_put_SoSndBuf');
  Chilkat_GetProcedureAddress(CkMailMan_get_SocksHostname, 'CkMailMan_get_SocksHostname');
  Chilkat_GetProcedureAddress(CkMailMan_put_SocksHostname, 'CkMailMan_put_SocksHostname');
  Chilkat_GetProcedureAddress(CkMailMan_get_SocksPassword, 'CkMailMan_get_SocksPassword');
  Chilkat_GetProcedureAddress(CkMailMan_put_SocksPassword, 'CkMailMan_put_SocksPassword');
  Chilkat_GetProcedureAddress(CkMailMan_get_SocksPort, 'CkMailMan_get_SocksPort');
  Chilkat_GetProcedureAddress(CkMailMan_put_SocksPort, 'CkMailMan_put_SocksPort');
  Chilkat_GetProcedureAddress(CkMailMan_get_SocksUsername, 'CkMailMan_get_SocksUsername');
  Chilkat_GetProcedureAddress(CkMailMan_put_SocksUsername, 'CkMailMan_put_SocksUsername');
  Chilkat_GetProcedureAddress(CkMailMan_get_SocksVersion, 'CkMailMan_get_SocksVersion');
  Chilkat_GetProcedureAddress(CkMailMan_put_SocksVersion, 'CkMailMan_put_SocksVersion');
  Chilkat_GetProcedureAddress(CkMailMan_get_SslAllowedCiphers, 'CkMailMan_get_SslAllowedCiphers');
  Chilkat_GetProcedureAddress(CkMailMan_put_SslAllowedCiphers, 'CkMailMan_put_SslAllowedCiphers');
  Chilkat_GetProcedureAddress(CkMailMan_get_SslProtocol, 'CkMailMan_get_SslProtocol');
  Chilkat_GetProcedureAddress(CkMailMan_put_SslProtocol, 'CkMailMan_put_SslProtocol');
  Chilkat_GetProcedureAddress(CkMailMan_get_StartTLS, 'CkMailMan_get_StartTLS');
  Chilkat_GetProcedureAddress(CkMailMan_put_StartTLS, 'CkMailMan_put_StartTLS');
  Chilkat_GetProcedureAddress(CkMailMan_get_TlsCipherSuite, 'CkMailMan_get_TlsCipherSuite');
  Chilkat_GetProcedureAddress(CkMailMan_get_TlsPinSet, 'CkMailMan_get_TlsPinSet');
  Chilkat_GetProcedureAddress(CkMailMan_put_TlsPinSet, 'CkMailMan_put_TlsPinSet');
  Chilkat_GetProcedureAddress(CkMailMan_get_TlsVersion, 'CkMailMan_get_TlsVersion');
  Chilkat_GetProcedureAddress(CkMailMan_get_UseApop, 'CkMailMan_get_UseApop');
  Chilkat_GetProcedureAddress(CkMailMan_put_UseApop, 'CkMailMan_put_UseApop');
  Chilkat_GetProcedureAddress(CkMailMan_get_StartTLSifPossible, 'CkMailMan_get_StartTLSifPossible');
  Chilkat_GetProcedureAddress(CkMailMan_put_StartTLSifPossible, 'CkMailMan_put_StartTLSifPossible');
  Chilkat_GetProcedureAddress(CkMailMan_get_UncommonOptions, 'CkMailMan_get_UncommonOptions');
  Chilkat_GetProcedureAddress(CkMailMan_put_UncommonOptions, 'CkMailMan_put_UncommonOptions');
  Chilkat_GetProcedureAddress(CkMailMan_get_LastSmtpStatusMsg, 'CkMailMan_get_LastSmtpStatusMsg');
  Chilkat_GetProcedureAddress(CkMailMan_get_Pop3StlsIfPossible, 'CkMailMan_get_Pop3StlsIfPossible');
  Chilkat_GetProcedureAddress(CkMailMan_put_Pop3StlsIfPossible, 'CkMailMan_put_Pop3StlsIfPossible');
  Chilkat_GetProcedureAddress(CkMailMan_get_SmtpMailFrom, 'CkMailMan_get_SmtpMailFrom');
  Chilkat_GetProcedureAddress(CkMailMan_put_SmtpMailFrom, 'CkMailMan_put_SmtpMailFrom');
  Chilkat_GetProcedureAddress(CkMailMan_get_EnableSecrets, 'CkMailMan_get_EnableSecrets');
  Chilkat_GetProcedureAddress(CkMailMan_put_EnableSecrets, 'CkMailMan_put_EnableSecrets');
  Chilkat_GetProcedureAddress(CkMailMan_get_RequireHostnameMatch, 'CkMailMan_get_RequireHostnameMatch');
  Chilkat_GetProcedureAddress(CkMailMan_put_RequireHostnameMatch, 'CkMailMan_put_RequireHostnameMatch');
  Chilkat_GetProcedureAddress(CkMailMan_get_SniHostname, 'CkMailMan_get_SniHostname');
  Chilkat_GetProcedureAddress(CkMailMan_put_SniHostname, 'CkMailMan_put_SniHostname');
  Chilkat_GetProcedureAddress(CkMailMan_AddPfxSourceFile, 'CkMailMan_AddPfxSourceFile');
  Chilkat_GetProcedureAddress(CkMailMan_CheckMail, 'CkMailMan_CheckMail');
  Chilkat_GetProcedureAddress(CkMailMan_ClearPop3SessionLog, 'CkMailMan_ClearPop3SessionLog');
  Chilkat_GetProcedureAddress(CkMailMan_ClearSmtpSessionLog, 'CkMailMan_ClearSmtpSessionLog');
  Chilkat_GetProcedureAddress(CkMailMan_CloseSmtpConnection, 'CkMailMan_CloseSmtpConnection');
  Chilkat_GetProcedureAddress(CkMailMan_DeleteBundle, 'CkMailMan_DeleteBundle');
  Chilkat_GetProcedureAddress(CkMailMan_DeleteByMsgnum, 'CkMailMan_DeleteByMsgnum');
  Chilkat_GetProcedureAddress(CkMailMan_DeleteByUidl, 'CkMailMan_DeleteByUidl');
  Chilkat_GetProcedureAddress(CkMailMan_DeleteEmail, 'CkMailMan_DeleteEmail');
  Chilkat_GetProcedureAddress(CkMailMan_GetMailboxCount, 'CkMailMan_GetMailboxCount');
  Chilkat_GetProcedureAddress(CkMailMan_GetMailboxInfoXml, 'CkMailMan_GetMailboxInfoXml');
  Chilkat_GetProcedureAddress(CkMailMan_GetMailboxSize, 'CkMailMan_GetMailboxSize');
  Chilkat_GetProcedureAddress(CkMailMan_GetSizeByUidl, 'CkMailMan_GetSizeByUidl');
  Chilkat_GetProcedureAddress(CkMailMan_IsSmtpDsnCapable, 'CkMailMan_IsSmtpDsnCapable');
  Chilkat_GetProcedureAddress(CkMailMan_OpenSmtpConnection, 'CkMailMan_OpenSmtpConnection');
  Chilkat_GetProcedureAddress(CkMailMan_Pop3Authenticate, 'CkMailMan_Pop3Authenticate');
  Chilkat_GetProcedureAddress(CkMailMan_Pop3BeginSession, 'CkMailMan_Pop3BeginSession');
  Chilkat_GetProcedureAddress(CkMailMan_Pop3Connect, 'CkMailMan_Pop3Connect');
  Chilkat_GetProcedureAddress(CkMailMan_Pop3EndSession, 'CkMailMan_Pop3EndSession');
  Chilkat_GetProcedureAddress(CkMailMan_Pop3EndSessionNoQuit, 'CkMailMan_Pop3EndSessionNoQuit');
  Chilkat_GetProcedureAddress(CkMailMan_Pop3Noop, 'CkMailMan_Pop3Noop');
  Chilkat_GetProcedureAddress(CkMailMan_Pop3Reset, 'CkMailMan_Pop3Reset');
  Chilkat_GetProcedureAddress(CkMailMan_Pop3SendRawCommand, 'CkMailMan_Pop3SendRawCommand');
  Chilkat_GetProcedureAddress(CkMailMan_QuickSend, 'CkMailMan_QuickSend');
  Chilkat_GetProcedureAddress(CkMailMan_RenderToMime, 'CkMailMan_RenderToMime');
  Chilkat_GetProcedureAddress(CkMailMan_SendBundle, 'CkMailMan_SendBundle');
  Chilkat_GetProcedureAddress(CkMailMan_SendEmail, 'CkMailMan_SendEmail');
  Chilkat_GetProcedureAddress(CkMailMan_SendMime, 'CkMailMan_SendMime');
  Chilkat_GetProcedureAddress(CkMailMan_SetDecryptCert, 'CkMailMan_SetDecryptCert');
  Chilkat_GetProcedureAddress(CkMailMan_SetDecryptCert2, 'CkMailMan_SetDecryptCert2');
  Chilkat_GetProcedureAddress(CkMailMan_SetSslClientCert, 'CkMailMan_SetSslClientCert');
  Chilkat_GetProcedureAddress(CkMailMan_SetSslClientCertPem, 'CkMailMan_SetSslClientCertPem');
  Chilkat_GetProcedureAddress(CkMailMan_SetSslClientCertPfx, 'CkMailMan_SetSslClientCertPfx');
  Chilkat_GetProcedureAddress(CkMailMan_SmtpAuthenticate, 'CkMailMan_SmtpAuthenticate');
  Chilkat_GetProcedureAddress(CkMailMan_SmtpConnect, 'CkMailMan_SmtpConnect');
  Chilkat_GetProcedureAddress(CkMailMan_SmtpNoop, 'CkMailMan_SmtpNoop');
  Chilkat_GetProcedureAddress(CkMailMan_SmtpReset, 'CkMailMan_SmtpReset');
  Chilkat_GetProcedureAddress(CkMailMan_SmtpSendRawCommand, 'CkMailMan_SmtpSendRawCommand');
  Chilkat_GetProcedureAddress(CkMailMan_SshAuthenticatePk, 'CkMailMan_SshAuthenticatePk');
  Chilkat_GetProcedureAddress(CkMailMan_SshAuthenticatePw, 'CkMailMan_SshAuthenticatePw');
  Chilkat_GetProcedureAddress(CkMailMan_SshCloseTunnel, 'CkMailMan_SshCloseTunnel');
  Chilkat_GetProcedureAddress(CkMailMan_SshOpenTunnel, 'CkMailMan_SshOpenTunnel');
  Chilkat_GetProcedureAddress(CkMailMan_UseCertVault, 'CkMailMan_UseCertVault');
  Chilkat_GetProcedureAddress(CkMailMan_UseSsh, 'CkMailMan_UseSsh');
  Chilkat_GetProcedureAddress(CkMailMan_UseSshTunnel, 'CkMailMan_UseSshTunnel');
  Chilkat_GetProcedureAddress(CkMailMan_VerifyPopConnection, 'CkMailMan_VerifyPopConnection');
  Chilkat_GetProcedureAddress(CkMailMan_VerifyPopLogin, 'CkMailMan_VerifyPopLogin');
  Chilkat_GetProcedureAddress(CkMailMan_VerifyRecips, 'CkMailMan_VerifyRecips');
  Chilkat_GetProcedureAddress(CkMailMan_VerifySmtpConnection, 'CkMailMan_VerifySmtpConnection');
  Chilkat_GetProcedureAddress(CkMailMan_VerifySmtpLogin, 'CkMailMan_VerifySmtpLogin');
  Chilkat_GetProcedureAddress(CkMailMan_RenderToMimeSb, 'CkMailMan_RenderToMimeSb');
  Chilkat_GetProcedureAddress(CkMailMan_RenderToMimeBd, 'CkMailMan_RenderToMimeBd');
  Chilkat_GetProcedureAddress(CkMailMan_SetPassword, 'CkMailMan_SetPassword');
  Chilkat_GetProcedureAddress(CkMailMan_SendMimeBd, 'CkMailMan_SendMimeBd');
  Chilkat_GetProcedureAddress(CkMailMan_FetchMimeBd, 'CkMailMan_FetchMimeBd');
  Chilkat_GetProcedureAddress(CkMailMan_GetLastJsonData, 'CkMailMan_GetLastJsonData');
  Chilkat_GetProcedureAddress(CkMailMan_GetServerCert, 'CkMailMan_GetServerCert');
  Chilkat_GetProcedureAddress(CkMailMan_FetchAll, 'CkMailMan_FetchAll');
  Chilkat_GetProcedureAddress(CkMailMan_FetchRange, 'CkMailMan_FetchRange');
  Chilkat_GetProcedureAddress(CkMailMan_FetchOne, 'CkMailMan_FetchOne');
  Chilkat_GetProcedureAddress(CkMailMan_FetchByUidl, 'CkMailMan_FetchByUidl');
  Chilkat_GetProcedureAddress(CkMailMan_FetchUidlSet, 'CkMailMan_FetchUidlSet');
  Chilkat_GetProcedureAddress(CkMailMan_FetchFull, 'CkMailMan_FetchFull');
  Chilkat_GetProcedureAddress(CkMailMan_LoadMbxFile, 'CkMailMan_LoadMbxFile');
  Chilkat_GetProcedureAddress(CkMailMan_FetchUidls, 'CkMailMan_FetchUidls');
  Chilkat_GetProcedureAddress(CkMailMan_AddPfxSourceBd, 'CkMailMan_AddPfxSourceBd');
  Chilkat_GetProcedureAddress(CkMailMan_FetchMimeByMsgnumBd, 'CkMailMan_FetchMimeByMsgnumBd');
  Chilkat_GetProcedureAddress(CkMailMan_DeleteUidlSet, 'CkMailMan_DeleteUidlSet');

end.
