Roundcube Community Forum

Release Support => Pending Issues => Topic started by: chilli on March 14, 2008, 09:47:16 AM

Title: Emails won't delete? [Solution inside]
Post by: chilli on March 14, 2008, 09:47:16 AM
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! :)
Title: Re: Emails won't delete? [Solution inside]
Post by: kasbeel on March 14, 2008, 10:00:53 AM
-
Title: Re: Emails won't delete? [Solution inside]
Post by: saitkaralar on March 15, 2008, 10:24:05 PM
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.
Title: Re: Emails won't delete? [Solution inside]
Post by: jenks517 on April 01, 2008, 06:04:35 PM
Worked great for me!

Thanks!
Title: Re: Emails won't delete? [Solution inside]
Post by: commin on April 02, 2008, 10:21:00 AM
works great for me too :)

thx
Title: Re: Emails won't delete? [Solution inside]
Post by: rockafella on April 05, 2008, 04:43:25 AM
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.
Title: Emails won't delete? [Solution inside]
Post by: jak0lantash on May 09, 2008, 12:20:41 PM
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
Title: Emails won't delete? [Solution inside]
Post by: zyurph on May 27, 2008, 09:53:39 AM
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?