|
|
@ -3709,9 +3709,17 @@ class rcube_imap_generic
|
|
|
|
// Parse response
|
|
|
|
// Parse response
|
|
|
|
do {
|
|
|
|
do {
|
|
|
|
$line = $this->readLine(4096);
|
|
|
|
$line = $this->readLine(4096);
|
|
|
|
|
|
|
|
|
|
|
|
if ($response !== null) {
|
|
|
|
if ($response !== null) {
|
|
|
|
$response .= $line;
|
|
|
|
$response .= $line;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// parse untagged response for [COPYUID 1204196876 3456:3457 123:124] (RFC6851)
|
|
|
|
|
|
|
|
if ($line && $command == 'UID MOVE' && substr_compare($line, '* OK', 0, 4, true)) {
|
|
|
|
|
|
|
|
if (preg_match("/^\* OK \[COPYUID [0-9]+ ([0-9,:]+) ([0-9,:]+)\]/i", $line, $m)) {
|
|
|
|
|
|
|
|
$this->data['COPYUID'] = array($m[1], $m[2]);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
while (!$this->startsWith($line, $tag . ' ', true, true));
|
|
|
|
while (!$this->startsWith($line, $tag . ' ', true, true));
|
|
|
|
|
|
|
|
|
|
|
|