Legrand / Raritan / Server Technology Xerus™ PDU JSON-RPC API
|
SMTP settings interface. More...
import"Smtp.idl";
Classes | |
struct | Configuration |
SMTP server configuration. More... | |
struct | TestResult |
Result of SMTP configuration test. More... | |
Public Member Functions | |
Configuration | getConfiguration () |
Retrieve the SMTP server configuration. More... | |
int | setConfiguration (in Configuration cfg) |
Set the SMTP server configuration. More... | |
TestResult | testConfiguration (in Configuration cfg, in vector< string > recipients) |
Test an SMTP server configuration. More... | |
Public Attributes | |
constant int | ERR_INVALID_PARAMS = 1 |
Invalid parameters. | |
SMTP settings interface.
Configuration devsettings::Smtp::getConfiguration | ( | ) |
Retrieve the SMTP server configuration.
int devsettings::Smtp::setConfiguration | ( | in Configuration | cfg | ) |
Set the SMTP server configuration.
cfg | New SMTP server settings |
TestResult devsettings::Smtp::testConfiguration | ( | in Configuration | cfg, |
in vector< string > | recipients | ||
) |
Test an SMTP server configuration.
The active server configuration is not changed.
cfg | SMTP server settings to test |
recipients | Recipient email addresses |