* @category Horde * @copyright 2013-2017 Horde LLC * @license http://www.horde.org/licenses/gpl GPL * @package IMP */ interface IMP_Spam_Base { /** * Reports a list of messages as innocent/spam. * * @param IMP_Contents $contents A contents object. * @param integer $action Either IMP_Spam::SPAM or * IMP_Spam::INNOCENT. * * @return boolean True on success. */ public function report(IMP_Contents $contents, $action); }