Author Topic: Coding for different mail store  (Read 3040 times)

Offline JamalL

  • Newbie
  • *
  • Posts: 1
Coding for different mail store
« on: January 13, 2014, 03:48:44 PM »
I'm trying to get Roundcube to work with a mail store beside Imap.  Actually it's still Imap, but with some specialized features that I need like custom authentication & specialized filtering.

I took a look at the code and found that the Imap calls all seem to be here

/program/lib/Roundcube/rcube_imap.php

So if want to make a custom store I would just change the code there?  Has anything like this been done already as an example?  Are there provisions for doing what I want to do with hooks or plugins? 

Thanks.

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Re: Coding for different mail store
« Reply #1 on: January 14, 2014, 02:23:03 AM »
Authentication thing should be possible with plugin, I'm not sure about the filtering. Anyway you can replace the whole rcube_imap class. See rcube_storage which is a parent for it. There's also a hidden config option storage_driver. See rcube::storage_init() method.