﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
1483937,"Support non-IMAP backends (POP3, DB, etc)",rem5,,"I have been looking into integrating roundcube directly to a dbmail database. I have spent a good amount of time looking through the code for an easy way to use a class library for the dbmail part, however it seems IMAP is coded into everything. What I suggest is creating a translation class.

This class would look at the config and decide what backend to use, IMAP or DBMAIL (or others). An IMAP and DBMAIL class would extend this translation class.

ex.

{{{
$type = $config['type'];

$rc = new $type; //translate

$rc->init_dbmail($db,$host,$user,$pass,$port); //initialize choice backend

$rc->call_user_function_here();

class roundcube 
{
     function get(){}
     function headers(){}
     function delete(){}
//you get the idea
}

class dbmail extends roundcube
{
     //dbmail specific functionality
}

}}}



This is just an example, someone with more experience with the code should suggest the method.
",Feature Requests,closed,6,0.8-beta,Core functionality,later,normal,fixed,,
