{
"id": string,
"name": string,
"smtpserver": string,
"smtpport": integer,
"smtpuser": string,
"smtppass": string,
"smtptemplate": string,
"posturl": string,
"postheader": string,
"postdata": string
}
id * | Specifies the ID of the gate. |
name * | Specifies the name of the gate, which can be any desired name. |
smtpserver * | Specifies the SMTP server host or domain name. |
smtpport * | Specifies the SMTP server port number. |
smtpuser * | Specifies the SMTP server username. |
smtppass * | Specifies the SMTP server user's password. |
smtptemplate * |
Specifies additional email configurations in JSON format, which should follow this structure:
The following rules need to be considered:
|
posturl * | Specifies the POST URL for the request. |
postheader * | Specifies the headers to be included in the POST request. Please provide the headers in JSON format, as shown in the example below: |
postdata * |
The follwing rules need to be considered:
|
{
"result": "OK",
"payload": "The process was successfully completed"
}
{
"result": "ERR",
"message": "Error message ..."
}