Sandro Pazzi wrote: > I'm using gmail like imap server with RC and I find a bug (I think gMail > bug). > Seems related the open tiket 1485746. > > RC use the message position for deleting and not it's UID. When a message > was copy in the trash folder google expunge it automatically. Than RC set > the flag /deleted at the message that was just expunged and it flag the > previous message that now have the same position. RC in this way delete 2 > messages. > > This is my workorund.
> foreach ($a_messages as $uid) > $a_oldmessagesuid[] = iil_C_ID2UID($conn, $from, $uid); ... > $r = iil_C_Copy($conn, $messages, $from,$to); ... > foreach ($a_messages as $uid) > $a_newmessagesuid[] = iil_C_ID2UID($conn, $from, $uid); An expensive workaround. Perfect opportunity to use COPYUID feature from UIDPLUS extension, also id-to-uid conversion could be done in one FETCH command. Does gmail support UIDPLUS? -- Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252 LAN Management System Developer http://lms.org.pl Roundcube Webmail Project Developer http://roundcube.net _______________________________________________ List info: http://lists.roundcube.net/dev/
