Skip to content

Commit 341f6d0

Browse files
authored
Merge pull request #31 from horde/feat/icloud-imap
fix: STORE for iCloud and other strict IMAP servers
2 parents 20e7352 + 4183358 commit 341f6d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Horde/Imap/Client/Socket.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -3632,14 +3632,14 @@ protected function _storeCmd($options)
36323632
if (!empty($options['replace'])) {
36333633
$cmds[] = array(
36343634
'FLAGS' . ($silent ? '.SILENT' : ''),
3635-
$options['replace']
3635+
new Horde_Imap_Client_Data_Format_List($options['replace'])
36363636
);
36373637
} else {
36383638
foreach (array('add' => '+', 'remove' => '-') as $k => $v) {
36393639
if (!empty($options[$k])) {
36403640
$cmds[] = array(
36413641
$v . 'FLAGS' . ($silent ? '.SILENT' : ''),
3642-
$options[$k]
3642+
new Horde_Imap_Client_Data_Format_List($options[$k])
36433643
);
36443644
}
36453645
}

0 commit comments

Comments
 (0)