[imp] empty trash / empty spam / empty folder

Jan Schneider jan at horde.org
Sat Mar 8 12:33:36 UTC 2008


Zitat von Liam Hoekenga <liamr at umich.edu>:

>>> What is then /intended/ activity of "empty folder"?
>>
>> The intended behavior it to act as if the user went through all folder
>> messages and deleted them manually. If he uses a trash folder, the
>> messages are moved there, otherwise marked as deleted. If he set in
>> his prefs to purge folders immediately, that should happen, otherwise
>> not.
>
> Should the screen refresh to show that messages have been deleted?

Yes, but any action in IMP refreshes the screen. If you talk about  
DIMP, the mailbox listing should be updated, yes.

> Should the status messages / UI elements be updated to reflect that  
> the messages have only been deleted a not expunged?  "Emptied all  
> messages from /foldername/" really says to me that the has been  
> emptied, and for that to happen, they need to be deleted /and/  
> expunged.

I was actually wrong. Looking at the code, the mailbox *is* expunged  
if not using a trash folder, or if emptying the trash folder.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the imp mailing list