Hello roundcube-Team,
i wrote a tiny patch that creates .Trash if it doesn't exist when you delete an email.
--- program/steps/mail/move_del.inc 2008-02-05 22:39:08.000000000 +0100 +++ program/steps/mail/move_del.inc 2008-04-24 09:54:24.000000000 +0200 @@ -28,8 +28,16 @@ { $count = sizeof(explode(',', ($uids = get_input_value('_uid', RCUBE_INPUT_POST)))); $target = get_input_value('_target_mbox', RCUBE_INPUT_POST);
- // create .Trash folder if it doesn't exist
- if ($target == "Trash") {
- if (!in_array_nocase($target, $IMAP->list_mailboxes())) {
$IMAP->create_mailbox($target, TRUE);
- }
- }
Nice work, guys!
Greetings, martin _______________________________________________ List info: http://lists.roundcube.net/dev/