IMAP Config Structure

<< Fare clic per visualizzazione il sommario >>

Percorso:  API di piattaforma > Altri servizi > Mail > Configurazione e metodi IMAP >

IMAP Config Structure

Optional configuration values that override the static configuration values.

 

Parameters

Name

Description

Type

Optional

IMAP_ServerName

The server address, either a hostname or a dotted string IP address

String

Y

IMAP_ServerPort

The server port

Integer

Y

IMAP_SslMode

The TLS/SSL security mode:

 0 = None (unsecured connection, no TLS/SSL)

 1 = Implicit (implicitly secured TLS/SSL connection)

 2 = Explicit (explicitly secured TLS/SSL connection)

Integer

Y

IMAP_SslAcceptAllCertificates

Specifies whether to accept all server certificates

Boolean

Y

IMAP_SingleSignOn

If true, IMAP_AuthenticationMethod, IMAP_UserName and IMAP_Password are ignored

Boolean

Y

IMAP_UserName

The username

String

Y

IMAP_Password

Password for the given username

String

Y

IMAP_AuthenticationMethod

the type of server authentication method:

  0 = Auto (the following methods are used, in this order of preference: CRAM-MD5, DIGEST-MD5, PLAIN, LOGIN, ClearText, EXTERNAL, NTLM)

 1 = PLAIN

 2 = LOGIN

 3 = ClearText

 4 = CRAM-MD5

 5 = DIGEST-MD5

 6 = EXTERNAL

 7 = NTLM

Integer

Y

IMAP_ProxyType

The proxy type:

  0 = None (direct connection, default when no proxy is specified)

 1 = Socks4 (connection through Socks4 proxy)

 2 = Socks4a (connection through Socks4A proxy (capable of resolving domain names))

 3 = Socks5 (connection through Socks5 proxy)

 4 = HttpConnect (connection through HTTP proxy using CONNECT method)

Integer

Y

IMAP_ProxyHost

The hostname of the proxy server

String

Y

IMAP_ProxyPort

The port of the proxy server

Integer

Y

IMAP_ProxyUserName

A username to submit to the proxy server for authentication

String

Y

IMAP_ProxyPassword

A password to submit to the proxy server for authentication

String

Y

IMAP_ProxyAuthenticationMethod

The type of the proxy server authentication method:

 0 = Basic (Basic authentication)

 1 = Ntlm (NTLM authentication)

 2 = Digest (Digest authentication)

Integer

Y

IMAP_ProxyBypassProxyOnLocal

True to bypass the proxy server for local addresses, otherwise false; the default value is false

Boolean

Y