This patch adds Drafts support (saving drafts, and resuming them later). It's based on the latest 260 SVN version.

1.  Make a backup of your entire RoundCube directory. :)

2.  CD into your main RC directory.

3.  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
        
4. Install:

        mv folder-drafts.png skins/default/images/icons/
        mv drafts_act.png skins/default/images/buttons/
        patch -p0 < rc-drafts.patch

5. 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






Reply via email to