Rich This looks excellent, thanks for your work. The only thing I thought was a little strange was when I save the draft, it works, but then it adds another sig to my current compose window. Just a small thing, but hey, great job, nice implementation, save message and I really like the auto-save feature, that could help me not lose some longer emails....
P
On Fri, 9 Jun 2006 16:19:53 -0700, richs@whidbey.net wrote:
This patch adds Drafts support (saving drafts, and resuming them later). It's based on the latest 260 SVN version.
Make a backup of your entire RoundCube directory. :)
CD into your main RC directory.
Grab the files:
wget http://www.whidbey.net/richs/rc-drafts.patch wget http://www.whidbey.net/richs/folder-drafts.png wget http://www.whidbey.net/richs/drafts_act.png
Install:
mv folder-drafts.png skins/default/images/icons/ mv drafts_act.png skins/default/images/buttons/ patch -p0 < rc-drafts.patch
Test. Re-login to RoundCube, compose a new message, then click
the "Save this draft" button. The first time you do this, it should create the "Drafts" folder.
Double-click on a draft to open it, or single-click to highlight and then press the Compose button. You should be able to resume where you left off, re-save, and eventually send the message.
Drafts are automatically saved every 5 minutes in case your session is lost. You can also click the "Save this draft" button manually. Configurable in "skins/default/templates/compose.html", e.g. by changing 300000 (5 minutes in milliseconds), to 10 minutes (600000).
Drafts are removed from the Drafts folder once they're Sent.
Please let me know what problems you find. Thanks!
Rich