protected function _setComparator($comparator) { $cmd = $this->_command('COMPARATOR'); foreach ($comparator as $val) { $cmd->add(new Horde_Imap_Client_Data_Format_Astring($val)); } $this->_sendCmd($cmd); }