I still think the following approach will be the best: (quoting from a previous mail of mine)
It probably works if you do the following:
$_POST['_user'] = 'username'; $_POST['_pass'] = 'password'; $_POST['_action'] = 'login'; require 'roundcubemail/index.php';
This is very ugly though, overwritting superglobal values; but it works ;)
Regards, Sjon
kaotik wrote:
Hi First off let me say that roundcube is an excelent webmail client! I first sent this question to the users mailing list but since no one responded I sent it here hoping there's an easy answer to it. I'm tring to integrate roundcube into Xoops and want to use $user and $pass set from Xoops (it's from another routine which allows each user to have multiple accounts), is it possible to set a default $user and $pass the same way as $host can be set through $CONFIG['default_host']?
Thank you
Lenny Lino