Description
This function enables the Apache SpamAssassin™ autodelete function for the account.
Examples
cPanel or Webmail Session URL
https://hostname.example.com:2083/cpsess##########/execute/Email/enable_spam_autodelete
LiveAPI PHP Class
$cpanel
=
new
CPANEL();
$enable_delete
=
$cpanel
->uapi(
'Email'
,
'enable_spam_autodelete'
);
LiveAPI Perl Module
my
$cpliveapi
= Cpanel::LiveAPI->new();
my
$enable_delete
=
$cpliveapi
->uapi(
'Email'
,
'enable_spam_autodelete'
,
}
);
cPanel Template Toolkit
[% execute('Email', 'enable_spam_autodelete') %]
Command Line
uapi --user=username Email enable_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.