Create email account's autoresponder
This function creates an autoresponder for an email account.
Important:
When you disable the Receive Mail role, the system disables this function.
Request
- Base URLhttps://cpanel-server.tld:2083/execute
- AuthHTTP basic
Query parameters
The contents of the autoresponder message's Body section.
The email account's domain. For example, example.com if the email address is user@example.com.
The email account name. For example, user if the email address is user@example.com.
The contents of the autoresponder message's From: field.
The amount of time, in hours, that the server waits between autoresponder messages to the same address.
Note:
If you specify 0, the system sends a message for each received email.
Whether the body of the autoresponder message begins with an HTML Content-Type declaration.
- 1 — Include an HTML content type declaration.
- 0 — Do not include an HTML content type declaration.
When to enable the autoresponder.
When to disable the autoresponder. A time that is after the start time.
The contents of the autoresponder message's Subject: field.
The character set.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "add_auto_responder",
"module": "Email",
"result": {
"status": 1
}
}Changes
No recorded changes to this operation across all 5 revisions of this API.