Hi all.
I'm writing a plugin that needs to be able to get the users quota information. To do this I have to do the following:
$rcmail = rcmail::get_instance();
$rcmail->imap_connect();
I don't seem to have to call $rcmail->imap_init(); after I call $rcmail->imap_connect();
I get access to the quota information by doing this. However the Roundcube client keeps logging me out when I call $rcmail->imap_connect(); Do you know what can be the cause of that and how I can go around it so I will be able to finish this plugin? :)
Thanks a lot!
I found out what was "wrong".
It seems Roundcube doesn't connect to the imap server until after the init() method of all plugins has been called.