[commits] [Wiki] changed: ImpAutomaticDefaultFolderCreation

Jan Schneider jan at horde.org
Fri Oct 11 09:16:36 UTC 2013


jan  Fri, 11 Oct 2013 09:16:36 +0000

Modified page: http://wiki.horde.org/ImpAutomaticDefaultFolderCreation
New Revision:  5
Change log:  Refer to IMP H5 solution

@@ -1,4 +1,6 @@
+##red|Since IMP 6.1.0 this can be configured in  
imp/config/backends.local.php.##
+
  After scouring Google for several days looking for a solution to  
this common question, and after subtle prodding on the Imp mailing  
list, I decided to roll my own method of making IMP create the default  
sent, trash, drafts, and spam folders as defined in  
"horde/imp/config/prefs.php" the first time a user logs in.   This  
code was written for IMP 4.1.x. ##red|This code does not work with IMP  
4.2.x.##

  What we need to do is create a Maintenance Task in IMP similar to  
the default "tos_agreement" task.  The first thing we need to do is  
create a maintenance task.  This is done by creating a PHP script  
called "horde/imp/lib/Maintenance/Tasks/create_default_folders.php"  
which contains the following class:




More information about the commits mailing list