Description
This function deletes an autoresponder.
Examples
cPanel or Webmail Session URL
https://hostname.example.com:2083/cpsess##########/execute/Email/delete_auto_responder?email=user%40example.com
LiveAPI PHP Class
$cpanel
=
new
CPANEL();
$delete_auto_responder
=
$cpanel
->uapi(
'Email'
,
'delete_auto_responder'
,
array
(
'email'
=>
'user@example.com'
,
)
);
LiveAPI Perl Module
my
$cpliveapi
= Cpanel::LiveAPI->new();
my
$delete_auto_responder
=
$cpliveapi
->uapi(
'Email'
,
'delete_auto_responder'
,
{
'email'
=>
'user@example.com'
,
}
);
cPanel Template Toolkit
[% data = execute( 'Email', 'delete_auto_responder', { 'email' => 'user@example.com' } ); %]
Command Line
uapi --user=username Email delete_auto_responder email=user%40example.com
|
Output (JSON)
{
"messages": null,
"errors": null,
"status": 1,
"metadata": {
},
"data": null
}
Parameters
Parameter
|
Type
|
Description
|
Possible values
|
Example
|
email
|
string
|
Required
The email account.
|
A valid email address on the cPanel account.
|
user@example.com
|
Returns
This function does not return output.