Roundcube Community Forum

 

Emails won't delete? [Solution inside]

Started by chilli, March 14, 2008, 09:47:16 AM

Previous topic - Next topic

chilli

Getting errors deleting emails with the latest roundcube?

I discovered it's because by default there is no 'Trash' folder created.

You can manually create the folder named 'Trash' under personal settings, you can then delete messages from your other folders which moves them into Trash folder, then you goto Trash folder and delete them from there.. and theyre gone. Unfortunately this only does it for the account youre logged in as, and doesnt help others using your server unless they all manually create Trash folder.

Or you can edit the roundcube config files, which will fix the problem server wide :)

Edit your config/main.inc.php and look for :

// display these folders separately in the mailbox list.
// these folders will also be displayed with localized names
$rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk', 'Trash');

// automatically create the above listed default folders on login
$rcmail_config['create_default_folders'] = FALSE;

and change to this:

// display these folders separately in the mailbox list.
// these folders will also be displayed with localized names
$rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk', 'Trash');

// automatically create the above listed default folders on login
$rcmail_config['create_default_folders'] = TRUE;

that way everyone gets a Trash folder (and whatever else you specify in the 'default_imap_folders' setting) when they login next.
There are also more settings in main.inc.php to control whether roundcube will delete an email from a folder straight out without the step of sending it to Trash first.

Hope this helps! :)


saitkaralar

It does not solve the problem?

I did these settings but:
- I still cannot delete messages.
- It does not mark messages as read even I read.

It changes on the screen but next logon or refreshing page, message is still there.

I tried with OutlookExpress IMAP login. deleting etc. is working.

what can I do ?
release 0-1 stable.

jenks517


commin


rockafella

Your solution helps to show the default folders but still in 0.1 stable, the mails does not get deleted.. they show up again when you re-login or refresh the page.

jak0lantash

Hello

$rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk', 'Trash');

$rcmail_config['create_default_folders'] = TRUE;

The config is OK but the folders are still not created...

Please, help me

zyurph

I also have a trash folder, and yet I still can't delete emails half the time.  I can't narrow it down, some days I can delete but others I can't.  Today is one of those days I can't delete emails.

Does anyone know what else could be causing the problem?