EWS_InitParameters

Call

EWS_InitParameters(Key;Value)

Requires

a key for the parameter to set and a value for the parameter

Does

sets one of the internal parameters.

In order to initialize the component it needs to know a few things, like the server address, the username and password to use. These values are set with this method.

Parameters

The different keys to set are:

hosttextthe host address of the Exchange server to use. if it does not end in .asmx the value in path will be appended
usertextthe username
passwordtextthe password for the user
pathtextthe path to the SOAP endpoint. Usually no need to set this unless it is not the default /EWS/Exchange.asmx.

Usage example

The following code initializes the component for use

EWS_InitParameters ("host";[EWS_settings]hostaddress)
EWS_InitParameters ("user";[EWS_settings]username)
EWS_InitParameters ("password";[EWS_settings]password)