14 constant
int ERR_INVALID_PARAMS = 1;
TestResult testConfiguration(in Configuration cfg, in vector< string > recipients)
Test an SMTP server configuration.
Configuration getConfiguration()
Retrieve the SMTP server configuration.
int setConfiguration(in Configuration cfg)
Set the SMTP server configuration.
SMTP server configuration.
int retryCount
Number of attempts at sending the email.
boolean allowOffTimeRangeCerts
allow expired and not yet valid TLS certificates
int port
SMTP server port.
boolean useTls
Enforce TLS usage.
string username
Authentication user name.
boolean useAuth
SMTP server requires authentication.
string password
Password; write-only, empty to leave unchanged.
int retryInterval
Sending retry interval in minutes.
string host
SMTP server host name or IP address.
string sender
Sender email address.
string caCertChain
TLS CA certificate chain.
Result of SMTP configuration test.
int status
Status code; 0 if OK.
string message
Status message.