Applies to
SMTPClient object
Description
Specifies the SMTP authentication type to be used by the server. Values are:
0 – (Default) autodetect. It will detect and use the authentication type in the following order: GSSAPI, LOGIN, NTLM, PLAIN, and XOAUTH2.
1 – GSSAPI
2 – LOGIN
3 – NTLM
4 – PLAIN
5 – XOAUTH2
Datatype
Integer.
Usage
This example sets the authentication type to GSSAPI:
SMTPClient lnv_SmtpClient lnv_SmtpClient = Create SMTPClient ... //Configure SMTPClient // Set auth type to GSSAPI lnv_SmtpClient.authtype = 1 lnv_SmtpClient.send()