public function __set($name, $value)
{
switch ($name) {
case 'options':
if (!$value instanceof ezcMailImapTransportOptions) {
throw new ezcBaseValueException('options', $value, 'instanceof ezcMailImapTransportOptions');
}
$this->options = $value;
break;
default:
throw new ezcBasePropertyNotFoundException($name);
}
}