Author Topic: using roundcube as front end to emails archived in database  (Read 2550 times)

Offline AQUANANU

  • Newbie
  • *
  • Posts: 1
using roundcube as front end to emails archived in database
« on: December 30, 2016, 04:46:18 AM »
is it possible to modify roundcube to act as front end to the emails which are archived in a MySQL database, the database schema being the same as what is being used by roundcube.

There will be no connection to an IMAP server only smtp configuration will be supplied. that means incoming mails are available in database and outgoing have to sent using smtp and stored in database also.

Offline alec

  • Hero Member
  • *****
  • Posts: 1,363
Re: using roundcube as front end to emails archived in database
« Reply #1 on: December 30, 2016, 06:08:24 AM »
The IMAP handling code is already implemented as a storage driver. So, yes it already is possible to use a different driver, but you'll need to write it. You have to write a class similar to rcube_imap (the only driver I know) class, let's say rcube_my_storage and then set undocumented 'storage_driver' option to "my_storage".