Used when connecting to the mail server.
def get_auth_mechanism() -> int: ... def set_auth_mechanism(value: int) -> None: ...
auth_mechanism = property(get_auth_mechanism, set_auth_mechanism)
The authentication mechanism property to be used when connecting to the mail server.
By default, this property is amUserPassword (0), and if the user and password properties are set, the AUTH command is sent to the server for authentication. If this property is set to amCRAMMD5 (1), CRAM-MD5 authentication is used instead.
If this property is set to amNTLM (2) NTLM authentication will be used.
If this property is set to amKerberos (6) Kerberos authentication will be used. NOTE: This functionality is only available in Windows.