IPWorks S/MIME 2020 Python Edition

Questions / Feedback?

auth_mechanism Property

Used when connecting to the mail server.

Syntax

def get_auth_mechanism() -> int: ...
def set_auth_mechanism(value: int) -> None: ...

auth_mechanism = property(get_auth_mechanism, set_auth_mechanism)

Default Value

0

Remarks

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.

When set to amXOAUTH2 (7) set user to the username and AuthorizationIdentity to the OAuth token. See AuthorizationIdentity for details.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks S/MIME 2020 Python Edition - Version 20.0 [Build 7941]