INetCredentialsByHost.GetCredential

Syntax

GetCredential(Host: String; Port: Integer; AuthProtocol: String): INetNetworkCredential;

Parameters

Host. Mail server name or IP address.

Port. The port, via which mail server access is provided.

AuthProtocol. Authentication scheme used by the resource.

Description

The GetCredential method returns the INetNetworkCredential object that contains the credentials connected with the specified authentication type and the mail server. When the credentials are not available, the method returns an empty link.

See also:

INetCredentialsByHost