public function addEmails( $bookId, $emails ) {
        if( empty( $bookId ) || empty( $emails ) ) {
            return $this->handleError( 'Empty book id or emails' );
        }

        $data = array(
            'emails' => serialize( $emails )
        );

        $requestResult = $this->sendRequest( 'addressbooks/' . $bookId . '/emails', 'POST', $data );

        return $this->handleResult( $requestResult );
    }
public function addEmails( $bookId, $emails ) {
        if( empty( $bookId ) || empty( $emails ) ) {
            return $this->handleError( 'Empty book id or emails' );
        }

        $data = array(
            'emails' => serialize( $emails )
        );

        $requestResult = $this->sendRequest( 'addressbooks/' . $bookId . '/emails', 'POST', $data );

        return $this->handleResult( $requestResult );
    }
public function addEmails ( $ bookId , $ emails ) { if ( empty ( $ bookId ) || empty ( $ emails ) ) { return $ this -> handleError ( 'Empty book id or emails' ) ; } $ data = array ( 'emails' => serialize ( $ emails ) ) ; $ requestResult = $ this -> sendRequest ( 'addressbooks/' . $ bookId . '/emails' , 'POST' , $ data ) ; return $ this -> handleResult ( $ requestResult ) ; }
Add new emails to address book

@param $bookId
@param $emails
@return mixed|stdClass
Add new emails to address book