tags:

views:

142

answers:

1

Hi guys I've integrated roundcube mail albeit pretty bluntly in my application i.e I just have it open in an iframe with the login credentials passed through via session variables. It works but the problem is that its very darn slow - and I'm beginning to assume its because of the iframe thing . I was wondering if anyone has been able to integrate the program in their own websites in a more efficient way - simply doing an include(index.php ) on the program doesn't work obviously...

+1  A: 

Couldn't you use the following plugin as a base for your efforts?

https://svn.roundcube.net/trunk/plugins/http_authentication/http_authentication.php

Let me know if this helps, I'm happy to provide more help/pointers. I'm one of the RoundCube leads.

Cheers, Till

Till
Thanks but basically the only issue I have is with the view mails. It seems to be quite slow and I guess its because for every action it makes an IMAP call. I've been tweaking roundcube mail for a while though and required something more on the line of having it within my page - I dont have any problem with authentication although the solution you'e given is a lot cleaner than what I've go running :)
Ali
Ah, well, if you want to share some war stories email me at till-\at/-roundcube-\dot/-net.As in "viewing emails", maybe look into the caching. If that doesn't help and IMAP remains the overhead, I'd suggest you look into nginx for imap proxy/loadbalancing and imapproxy.
Till