katun.ch blog

normal ist langweilig…
  • Home
  • Impressum
  • mobileMessiah
  • Tools
1 Jun 2007

RoundCube Webmail hacks

RoundCube Main Screen I had installed the RoundCube Webmail client on my webserver because the webmail clients (OpenWebMail and CONFIXX Webmail) aren’t so nice.

RoundCube Webmail is a browser-based multilingual IMAP client with an application-like user interface. It requires at least PHP4 with a SQL Engine like MySQL, PostgreSQL or SQLite. The user interface is fully skinnable using XHTML and CSS 2. It’s a very nice AJAX powered webmail client. But there is one minus. RoundCube doesn’t get new e-mails automaticly. And so the session will die after 10 minutes.

I’ve added a JavaScript code in the header of the mail.html template which “presses” the button to get new mails every 5 Minutes. To add this hack to your RoundCube installation follow these commands.

  1. Open the mail.html template under roundcuberoot/skins/default/templates to edit.
  2. Put after the 6th line the following code:
    <script type="text/javascript">
                function checkNewMails() {
                  rcmail.command(‘checkmail’,”,this);
                }
               window.setInterval("checkNewMails()", 300*1000);
               </script>
  3. Save the file

You have to make this changes in your RoundCube installation directory.

  • Facebook
  • Twitter
  • del.icio.us
  • email

This entry was posted on Friday, June 1st, 2007 at 13:04 and is filed under Other. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

3 Responses to “RoundCube Webmail hacks”

  1. foxx says:
    01.06.2007 at 22:29

    Hello,

    I really like roundcube webmail and will replace confixx Webmail with it. Thank you for this snipped it works nice!

    cu,
    foxx

  2. pozy says:
    03.06.2007 at 10:42

    ey ciao feriegänger

    muesch mal t svn version installiere, ich ha die bi mir druf… hät a bunch of more features than the stable one…

  3. Silas Knobel says:
    03.06.2007 at 14:09

    I’ve installed the nightly build of the roundcube svn version. There are some new cool features like sending HTML mails, composing emails with a WYSIWYG editor and show received emails in a preview pane. But the loginpage doesn’t look so nice. I’ll look for a new svn version in a few weeks.

Leave a Reply

Click here to cancel reply.

« Dynamic-NET – The new hoster of katun.ch
PHP5 slows down WordPress »
  • Letzte Posts

    • Resurrection EP von Abyss Of Fear
    • Sicherheitslücke in Firefox 3.5
    • Kaugummi von Fussmatte entfernen
    • Ortung via Google Maps
    • Ein halbes Jahr und vieles ist geschehen!
  • Andere Blogs

    • Apfelblog
    • Apfelquak
    • daepp.eu
    • dnz9r.ch
    • fscklog.com
    • Janeks Blog
    • Kopfschüttel-Blog
    • Martin Dikk
    • Oliver Raduner
    • PHP Performance
    • Tom’s TamTam
    • Treeinspired Blog
    • V1ru8
  • Links

    • Abyss of Fear
    • Luscious SMS
    • Mein Xing
  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
katun.ch blog is proudly powered by WordPress
Design & code by Jonk
Entries (RSS) and Comments (RSS).