public function addToBlackList($emails, $comment = '')
    {
        if (empty($emails)) {
            return $this->handleError('Empty email');
        }

        $data = array(
            'emails' => base64_encode($emails),
            'comment' => $comment,
        );

        $requestResult = $this->sendRequest('blacklist', 'POST', $data);

        return $this->handleResult($requestResult);
    }
public function addToBlackList($emails, $comment = '')
    {
        if (empty($emails)) {
            return $this->handleError('Empty email');
        }

        $data = array(
            'emails' => base64_encode($emails),
            'comment' => $comment,
        );

        $requestResult = $this->sendRequest('blacklist', 'POST', $data);

        return $this->handleResult($requestResult);
    }
public function addToBlackList ( $ emails , $ comment = '' ) { if ( empty ( $ emails ) ) { return $ this -> handleError ( 'Empty email' ) ; } $ data = array ( 'emails' => base64_encode ( $ emails ) , 'comment' => $ comment , ) ; $ requestResult = $ this -> sendRequest ( 'blacklist' , 'POST' , $ data ) ; return $ this -> handleResult ( $ requestResult ) ; }
Add email to blacklist

@param        $emails - string with emails, separator - ,
@param string $comment

@return stdClass
Add email to blacklist