Author Topic: Emails won't delete? [Solution inside]  (Read 6644 times)

Offline chilli

  • Newbie
  • *
  • Posts: 1
Emails won't delete? [Solution inside]
« 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 :

Code: [Select]
// 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:

Code: [Select]
// 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! :)

Offline kasbeel

  • Newbie
  • *
  • Posts: 1
Re: Emails won't delete? [Solution inside]
« Reply #1 on: March 14, 2008, 10:00:53 AM »
-

Offline saitkaralar

  • Newbie
  • *
  • Posts: 1
Re: Emails won't delete? [Solution inside]
« Reply #2 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.

Offline jenks517

  • Newbie
  • *
  • Posts: 1
Re: Emails won't delete? [Solution inside]
« Reply #3 on: April 01, 2008, 06:04:35 PM »
Worked great for me!

Thanks!

Offline commin

  • Jr. Member
  • **
  • Posts: 25
Re: Emails won't delete? [Solution inside]
« Reply #4 on: April 02, 2008, 10:21:00 AM »
works great for me too :)

thx

Offline rockafella

  • Newbie
  • *
  • Posts: 2
Re: Emails won't delete? [Solution inside]
« Reply #5 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.

Offline jak0lantash

  • Newbie
  • *
  • Posts: 2
Emails won't delete? [Solution inside]
« Reply #6 on: May 09, 2008, 12:20:41 PM »
Hello

Code: [Select]
$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

Offline zyurph

  • Newbie
  • *
  • Posts: 6
Emails won't delete? [Solution inside]
« Reply #7 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?