[horde] Horde/IMP CVS doesn't delete messages resumed from Drafts && Horde/IMP CVS doesn't delete messages from Trash in a Kolab installation
Fabio Pietrosanti
lists at pietrosanti.it
Mon Feb 26 09:34:27 PST 2007
I noticed today that latest Horde CVS:
a) - After an email is resumed from Drafts and is sent, it doesn't
delete the message from the Drafts folder.
b) - Messages that are in Trash folder, using Horde in a Kolab 2.1RC1
installation, are not deleted when "Delete" button is pressed.
I made a patch for the "b)" by applying to imp/lib/Message.php
if ($this->_usepop ||
$nuke ||
($use_trash && ($folder == $trash)) ||
($use_vtrash &&
($GLOBALS['imp_search']->isVTrashFolder()))) {
+ $del_flags = array('seen');
+ $this->flag($del_flags,
$indices_array);
/* Purge messages immediately. */
@imap_delete($stream, $sequence, FT_UID);
$this->expungeMailbox($indices_array);
} else {
/* If we are using virtual trash, we must mark the
message
* as seen or else it will appear as an 'unseen' message
* for purposes of new message counts. */
$del_flags = array('deleted');
Still doesn't know how to fix "a)" bug.
More information about the horde
mailing list