Requires any of the roles: | SystemAdministrator, Manager, Customer |
POST | /settings/test-email |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Account | body | EmailAccount | No | The email account to send from |
EmailAddress | body | string | No | The user to send to |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | string | No | |
Server | form | string | No | |
UserName | form | string | No | |
Port | form | int | No | |
EmailAddress | form | string | No | |
DisplayName | form | string | No | |
Password | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /settings/test-email HTTP/1.1
Host: team.evovoice.io
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
account:
{
id: String,
server: String,
userName: String,
port: 0,
emailAddress: String,
displayName: String,
password: String
},
emailAddress: String
}