Description
This function checks whether Apache SpamAssassin™ is enabled.
Warning:
cPanel API 1 is deprecated. Do not use this function. Instead, we strongly recommend that you use the following newer functions:
- UAPI (recommended) —
Email::get_spam_settings
— This function retrieves the Apache SpamAssassin™ settings for the account.
Examples
Parameters
This function does not accept parameters.
Returns
Enabled
— Apache SpamAssassin is enabled.Disabled
— Apache SpamAssassin is disabled.