Description
This function disables the Apache SpamAssassin™ autodelete function.
Examples
cPanel or Webmail Session URL
https://hostname.example.com:2083/cpsess##########/execute/Email/disable_spam_autodelete
LiveAPI PHP Class
$cpanel
=
new
CPANEL();
$disable_delete
=
$cpanel
->uapi(
'Email'
,
'disable_spam_autodelete'
);
LiveAPI Perl Module
my
$cpliveapi
= Cpanel::LiveAPI->new();
my
$disable_delete
=
$cpliveapi
->uapi(
'Email'
,
'disable_spam_autodelete'
,
}
);
cPanel Template Toolkit
[% execute('Email', 'disable_spam_autodelete') %]
Command Line
uapi --user=username Email disable_spam_autodelete
|
Output (JSON)
{
"messages": null,
"errors": null,
"status": 1,
"data": null
}
Parameters
This function does not accept parameters.
Returns
This function only returns metadata.