<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Trash folder should have type 4, not 12</title> 
  <pubDate>Sat, 04 Apr 2026 07:43:26 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/14729</link> 
  <atom:link rel="self" type="application/rss+xml" title="Trash folder should have type 4, not 12" href="https://bugs.horde.org/ticket/14729/rss" /> 
  <description>Trash folder should have type 4, not 12</description> 
 
   
   
  <item> 
   <title>for drafts, send, inbox you use the correct type values, but</title> 
   <description>for drafts, send, inbox you use the correct type values, but for trash you use 12 and not 4. why?</description> 
   <pubDate>Wed, 08 Nov 2017 21:28:19 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/14729#t92525</link> 
  </item> 
   
  <item> 
   <title>We explicitly set the trash folder to 4. See Horde_Core_Acti</title> 
   <description>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&#039;t have the &quot;use_trash&quot; pref set in IMP&#039;s preferences.

</description> 
   <pubDate>Sun, 12 Nov 2017 20:57:32 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/14729#t92542</link> 
  </item> 
   
  <item> 
   <title>I assume, this is not part of the ActiveSync protocol? From </title> 
   <description>I assume, this is not part of the ActiveSync protocol? 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?

A follow up question: If the Horde user did enable the &quot;use_trash&quot; setting and issues a FolderDelete request, will Horde translate that into a &quot;move to trash&quot; or will it obey the delete request?


&gt; We explicitly set the trash folder to 4. See 
&gt; Horde_Core_ActiveSync_Driver::_getMailFolder()
&gt;
&gt; If you are seeing the trash folder as type 12, this probably means 
&gt; that you don&#039;t have the &quot;use_trash&quot; pref set in IMP&#039;s preferences.
&gt;
&gt;
</description> 
   <pubDate>Mon, 13 Nov 2017 08:38:00 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/14729#t92564</link> 
  </item> 
   
  <item> 
   <title>&gt; I assume, this is not part of the ActiveSync protocol?

</title> 
   <description>&gt; I assume, this is not part of the ActiveSync protocol?

What isn&#039;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?

&gt; From the 
&gt; client side, I have to check if the trash folder is there or not, 
&gt; 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.

&gt; A follow up question: If the Horde user did enable the &quot;use_trash&quot; 
&gt; setting and issues a FolderDelete request, will Horde translate that 
&gt; into a &quot;move to trash&quot; 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.


&gt;&gt; We explicitly set the trash folder to 4. See
&gt;&gt; Horde_Core_ActiveSync_Driver::_getMailFolder()
&gt;&gt;
&gt;&gt; If you are seeing the trash folder as type 12, this probably means
&gt;&gt; that you don&#039;t have the &quot;use_trash&quot; pref set in IMP&#039;s preferences.
&gt;&gt;
&gt;&gt;
&gt;
</description> 
   <pubDate>Sun, 19 Nov 2017 06:02:27 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/14729#t92580</link> 
  </item> 
   
  <item> 
   <title>&gt; I assume, this is not part of the ActiveSync protocol? Fro</title> 
   <description>&gt; I assume, this is not part of the ActiveSync protocol? From the 
&gt; client side, I have to check if the trash folder is there or not, 
&gt; even though it is a default one, which should be there?

Also, there is no &quot;default&quot; trash folder in EAS, so I&#039;m not sure what you mean here.</description> 
   <pubDate>Sun, 19 Nov 2017 06:03:46 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/14729#t92581</link> 
  </item> 
   
  <item> 
   <title>I think we can close this than.

I referred to the MS-ASCM</title> 
   <description>I think we can close this than.

I referred to the MS-ASCMD documentation, specific:

https://msdn.microsoft.com/en-us/library/gg650877(v=exchg.80).aspx

where the folder of type 4 is called the &quot;default deleted item folder&quot;. For me this concluded, that such a folder must be present, so that the EAS client can always choose beween moving a folder to trash and deleting it via FolderDelete.

However, there is also the OPTION &quot;DeletesAsMoves&quot;, which you probably do not send, if the user has disabled trash and thus there is no folder of type 4. I missed that OPTION.

Thanks for your time,
John</description> 
   <pubDate>Sun, 19 Nov 2017 13:51:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/14729#t92583</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
