[Tickets #14729] Re: Trash folder should have type 4, not 12

noreply at bugs.horde.org noreply at bugs.horde.org
Sun Nov 19 06:02:27 UTC 2017


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://bugs.horde.org/ticket/14729
------------------------------------------------------------------------------
  Ticket             | 14729
  Updated By         | Michael Rubinsky <mrubinsk at horde.org>
  Summary            | Trash folder should have type 4, not 12
  Queue              | Synchronization
  Version            | FRAMEWORK_5_2
  Type               | Bug
-State              | Feedback
+State              | Not A Bug
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Michael Rubinsky
------------------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2017-11-19 06:02) wrote:

> I assume, this is not part of the ActiveSync protocol?

What isn't?  The use_trash preference is an IMP preference, the MUA.   
If the account that ActiveSync is synchronizing with is not using a  
trash folder, why would we indicate to EAS to use one?

> From the client side, I have to check if the trash folder is there  
> or not, even though it is a default one, which should be there?

Well, in EAS you can either do a DELETEASMOVES or an immediate  
deletion. The former uses and REQUIRES a folder of type 4 to be set,  
the latter does not and indicates to the server to perform an  
immediate expunge.

> A follow up question: If the Horde user did enable the "use_trash"  
> setting and issues a FolderDelete request, will Horde translate that  
> into a "move to trash" or will it obey the delete request?

A FOLDERDELETE command is always permanent in EAS. I.e., it does NOT  
move any items to the trash.


>> We explicitly set the trash folder to 4. See
>> Horde_Core_ActiveSync_Driver::_getMailFolder()
>>
>> If you are seeing the trash folder as type 12, this probably means
>> that you don't have the "use_trash" pref set in IMP's preferences.
>>
>>
>






More information about the bugs mailing list