Description
This function retrieves autoresponder information.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
Parameter |
Type |
Description |
Possible values |
Example |
|
string |
Required The email account name. |
A valid email account name on the server. For example, user if the email address isuser@example.com. |
user |
temp_charset |
string |
The autoresponder's character set. This parameter defaults to us-ascii. |
Any standard character encoding set. |
utf-8 |
Returns
Return |
Type |
Description |
Possible values |
Example |
is_html |
Boolean |
Whether the body of the autoresponder message begins with an HTML content type declaration. |
|
1 |
stop |
integer |
When the autoresponder becomes disabled in Unix time. |
A time that is after the start time, in Unix time format. |
1410300000 |
start |
integer |
When the autoresponder becomes enabled in Unix time. |
A time, in Unix time format. |
1410277881 |
interval |
integer |
The amount of time, in hours, that the server waits between autoresponder messages to the same address. |
Any positive integer. Note: A value of 0 indicates that the system sends a message for each email received. |
24 |
charset |
string |
The autoresponder's character set. |
Any standard character encoding set. |
UTF-8 |
from |
string |
The contents of the autoresponder message'sFrom: field. |
Any string, or a blank value. |
User Name |
subject |
string |
The contents of the autoresponder message'sSubject: field. |
Any string, or a blank value. |
Autoresponder Subject |
body |
string |
The contents of the autoresponder message'sBody section. |
Any string, or a blank value. |
This is an autoresponder message. |