AuthMechanism Parameter (Connect-IMAP Cmdlet)
The authentication mechanism to be used when connecting to the mail server.
Syntax
Connect-IMAP -AuthMechanism string
Remarks
The applicable values are the following:
UserPassword (default) | Default plaintext authentication is used to login to the server. |
CRAMMD5 | The more secure CRAM-MD5 authentication is used instead. |
NTLM | NTLM authentication will be used. |
SASLPlain | AuthMechanism can be set to SASLPlain (4) as well. Note, however, that servers will often require SSL or some other encrypted session protection be used when this authentication mechanism is requested. |
Kerberos | Kerberos authentication will be used. NOTE: This functionality is only available in Windows. |
Default Value
0