Skip to main content
 print this page

Create a mail server

POST 

/mailservers

Creates a mail server. Requires system-settings.fullaccess. If Enabled is true, SMTP is tested first; a failed test still creates the server with Enabled false. Enabling one server disables the others. Service users are rejected (GE-1014).

Request

Responses

Server was stored. server_id is the new id. Message notes a skipped enable when the SMTP test failed.

Response Headers
    Access-Control-Allow-Origin
    Access-Control-Allow-Methods
    Access-Control-Allow-Headers