ServerAuthType Enumeration


Specifies the pop3/imap4 user authentication mechanism.

[Visual Basic]
Public Enum ServerAuthType
[C#]
public enum ServerAuthType
[C++]
__value public enum ServerAuthType
[JScript]
public enum ServerAuthType

Members

Members name Description
AuthLogin Specifies that the mail server uses plain text authentication.
AuthCRAM5 Specifies that the mail server uses MD5 hash authentication.
AuthNTLM Specifies that the mail server uses NTLM authentication.
AuthXOAUTH2 Specifies that the smtp server uses Gmail OAUTH mechanism.

Remarks

XOAUTH2 is used for Gmail OAUTH, please use Gmail OAUTH access_token as the password. For more detail, please refer to Using Gmail IMAP OAUTH section.

See Also

MailServer.AuthType Property
MailClient.Connect Method

Online Tutorials

Read Email and Parse Email in C# - Tutorial
Read Email and Parse Email in VB.NET - Tutorial
Read Email and Parse Email C++/CLI - Tutorial