[imp] Local folder for SentMail ?!

Mario Mikocevic mozgy at hinet.hr
Tue Apr 8 16:06:39 PDT 2003


Hi,

On Fri, Apr 04, 2003 at 09:31:18AM -0500, Chuck Hagenbuch wrote:
> Quoting Mario Mikocevic <mozgy at hinet.hr>:
> 
> > If I want to provide functionality of saving Sent Mails _localy_ on web
> > server disks where should I look for ?! Is it imp subsystem or horde and
> > where exactly ? I have no problem of actualy writing it myself but I just
> > need some starters.
> 
> You'll need to modify IMP to suppport local folders somehow. It'll be a
> pretty comprehensive modification; start in imp/lib/Folder.php I guess.

Comprehensive maybe not but definately not trivial.

Well, I successfully added _saving_ all sent mails (compose.php) in one local
folder/file but that's it so far !
If I want to add viewing functionality (who needs them if you can't see them :)
where I should go next ?!

Preferences should be something like following, oppinions ?
(full patch _will_ be available very soon :)

--- prefs.php.dist      Tue Oct 29 22:04:33 2002
+++ prefs.php   Mon Apr  7 16:42:16 2003
@@ -234,18 +240,20 @@
 // save a copy of sent messages?
 // a value of 0 = no, 1 = yes
 $_prefs['save_sent_mail'] = array(
-    'value' => 1,
-    'locked' => false,
+    'value' => 0,
+    'locked' => true,
     'shared' => true,
     'type' => 'implicit'
 );
 
 // sent mail folder
 $_prefs['sent_mail_folder'] = array(
-    'value' => 'sent-mail',
+//    'value' => 'sent-mail',
 // For Exchange server uncomment the line below and delete the line above
 //    'value' => 'Sent Items',
-    'locked' => false,
+// For local SentMail folder uncomment the line below
+    'value' => 'local',
+    'locked' => true,
     'shared' => true,
     'type' => 'implicit'
 );


> -chuck


-- 
Mario Mikočević (Mozgy)
mozgy at hinet dot hr
It's never too late to have a good childhood! The older you are, the better the toys!
My favourite FUBAR ...


More information about the imp mailing list