INetSmtpClient.ThisHostCredentials

Syntax

ThisHostCredentials(AuthProtocol: String): INetNetworkCredential;

Parameters

AuthProtocol. The protocol used for user authentication at SMTP server.

Description

The ThisHostCredentials property determines the credentials of the SMTP sending mail server that is used on email message sending.

Comments

As a value of the AuthProtocol parameter specify one of the protocols supported by SMTP server, with which work is executed, for example, NTLM, PLAIN, LOGIN, DIGEST-MD5, GSSAPI, and so on. The list of supported protocols can be obtained by studying parameters of specific SMTP server. If there is no information about the protocol, leave the string empty. In this case SMTP server selects how user is to be authenticated.

Example

The example of use is given in description of the Send method.

See also:

INetSmtpClient