Hi,
I assume you are php developer, so I won't go into details - you can read the code.
In config/main.inc.php I load Epesi session and create connection to epesi database, so I have access to all settings of epesi user. Variable which holds epesi session is global one $E_SESSION. There is also one more global variable: $account - holds account info that is loaded from epesi database. We also set there default imap and smtp server with $account values ($rcmail_config['smtp_server'], $rcmail_config['default_host'].....).
As you can see in $rcmail_config['plugins'] I load some epesi plugins...
- epesi init - loads common classes of epesi - you are probably not interested in it.
- epesi autologon - if you are launching roundcube in epesi iframe this plugin is loaded and RC tries to authenticate with global $account
- epesi autorelogon - if you are switching from one account to another one (epesi actionbar icons), RC need to logout from old account and login to new account - this plugin is used.
- epesi addressbook - integrates epesi contacts
- epesi archive - gives possibility to move mail from RC to Epesi.
Ok, so that's all for now... We are working on better addressbook integration now.
Cheers
Paul