<< Fare clic per visualizzazione il sommario >> Percorso: API di piattaforma > Altri servizi > Mail > Configurazione e metodi SMTP > SMTP Config Structure |
Optional configuration values that override the static configuration values.
Parameters |
|||
Name |
Description |
Type |
Optional |
SMTP_ServerName |
The server address, either a hostname or a dotted string IP address |
String |
Y |
SMTP_ServerPort |
The server port |
Integer |
Y |
SMTP_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 |
SMTP_SslAcceptAllCertificates |
Specifies whether to accept all server certificates |
Boolean |
Y |
SMTP_SingleSignOn |
If true, SMTP_AuthenticationMethod, SMTP_UserName and SMTP_Password are ignored |
Boolean |
Y |
SMTP_UserName |
The username |
String |
Y |
SMTP_Password |
Password for the given username |
String |
Y |
SMTP_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, NTLM) 1 = PLAIN 2 = LOGIN 3 = CRAM-MD5 4 = DIGEST-MD5 5 = NTLM |
Integer |
Y |
SMTP_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 |
SMTP_ProxyHost |
The hostname of the proxy server |
String |
Y |
SMTP_ProxyPort |
The port of the proxy server |
Integer |
Y |
SMTP_ProxyUserName |
A username to submit to the proxy server for authentication |
String |
Y |
SMTP_ProxyPassword |
A password to submit to the proxy server for authentication |
String |
Y |
SMTP_ProxyAuthenticationMethod |
The type of the proxy server authentication method: 0 = Basic (Basic authentication) 1 = Ntlm (NTLM authentication) 2 = Digest (Digest authentication) |
Integer |
Y |
SMTP_ProxyBypassProxyOnLocal |
True to bypass the proxy server for local addresses, otherwise false; the default value is false |
Boolean |
Y |