End point: [RemoteTM URL]/email
Send a GET request with these headers:
RemoteTM responds with a JSON object.
On success, field 'status' is set to 'OK' and server configuration is returned.
Example:
{
"server": "smtp.mydomain.com",
"password": "pass123$",
"instance": "https://tm.mydomain.com:8443/RemoteTM",
"authenticate": true,
"port": "465",
"from": "remotetm@mydomain.com",
"tls": false,
"user": "postmaster",
"status": "OK"
}
On error, field 'status' is set to 'Error' and field 'reason' contains the error cause.
Example:
{
"status": "Error",
"reason": "Access denied"
}