public function submitSpam($permaLink, $content, $type, $author = '', $authorEmailAddress = '', $authorUri = '')
    {
        if ($this->settings['apiKey'] === '') {
            $this->systemLogger->log('Could not submit new spam sample to Akismet because no API key was provided in the settings.', LOG_WARNING);
        }

        $arguments = array(
            'permalink' => $permaLink,
            'comment_type' => $type,
            'comment_author' => $author,
            'comment_author_email' => $authorEmailAddress,
            'comment_author_url' => $authorUri,
            'comment_content' => $content
        );
        $this->sendRequest('submit-spam', $arguments);
        $this->systemLogger->log(sprintf('Submitted new sample of spam (comment for "%s") to Akismet.', $permaLink), LOG_INFO);
    }
public function submitSpam($permaLink, $content, $type, $author = '', $authorEmailAddress = '', $authorUri = '')
    {
        if ($this->settings['apiKey'] === '') {
            $this->systemLogger->log('Could not submit new spam sample to Akismet because no API key was provided in the settings.', LOG_WARNING);
        }

        $arguments = array(
            'permalink' => $permaLink,
            'comment_type' => $type,
            'comment_author' => $author,
            'comment_author_email' => $authorEmailAddress,
            'comment_author_url' => $authorUri,
            'comment_content' => $content
        );
        $this->sendRequest('submit-spam', $arguments);
        $this->systemLogger->log(sprintf('Submitted new sample of spam (comment for "%s") to Akismet.', $permaLink), LOG_INFO);
    }
public function submitSpam ( $ permaLink , $ content , $ type , $ author = '' , $ authorEmailAddress = '' , $ authorUri = '' ) { if ( $ this -> settings [ 'apiKey' ] === '' ) { $ this -> systemLogger -> log ( 'Could not submit new spam sample to Akismet because no API key was provided in the settings.' , LOG_WARNING ) ; } $ arguments = array ( 'permalink' => $ permaLink , 'comment_type' => $ type , 'comment_author' => $ author , 'comment_author_email' => $ authorEmailAddress , 'comment_author_url' => $ authorUri , 'comment_content' => $ content ) ; $ this -> sendRequest ( 'submit-spam' , $ arguments ) ; $ this -> systemLogger -> log ( sprintf ( 'Submitted new sample of spam (comment for "%s") to Akismet.' , $ permaLink ) , LOG_INFO ) ; }
Submits missed spam comment which hasn't been recognized.

@param string $permaLink An absolute, permanent URI pointing to the item which was commented
@param string $content The actual content of the comment sent
@param string $type The comment type – can be any string, for example "post", "trackback" or the like
@param string $author The author name specified
@param string $authorEmailAddress The email address specified
@param string $authorUri A URI specified linking to the author's homepage or similar
@return void
@api
Submits missed spam comment which hasn t been recognized .