RemoteCreateNetworkConnection()

Creates a network connection.

Token ID

AFTKN_REM_CREATE_DIRECT_CONNECTION or 787

Syntax

VOID RemoteCreateNetworkConnection( ANSISTRING ConnectionName; 
                               ANSISTRING PostOfficePath; 
                               [ENUM DisconnectMethod])

Parameters

ConnectionName As ANSISTRING

User defined.

PostOfficePath As ANSISTRING

Include full path.

DisconnectMethod As ENUM

Specifies the disconnect method:

300

AfterAllUpdates! disconnects after all items are sent and all requests are processed and retrieved to the remote mailbox.

301

AfterRequestsSent! disconnects after all items are sent to the master mailbox and all waiting responses are retrieved. The connection does not wait for the master system to process requests. Manual! disconnects when you manually terminate the connection

0

Manual