Can anyone tell me if the following is possible, and possibly give me a shove in the right direction?
I need to integrate roundcube with an existing program, and so far everything is working really nicely (I've had more trouble with the existing program than with roundcube
Last thing I need is to be able to show a custom list of email messages outside of the usual roundcube page:
imagine a screen with lots of information about a particular client at the top of the page, where I want to show a list of all emails associated with that client at the bottom part of the screen. The list of emails I want to show on any particular will be gotten from the messages table, where I check the from/to addresses against the client's email address.
It would also be great if I could then click on one of these emails and they would open up (so something like the 'preview' view on inboxes used in roundcube)
As far as I can see I have two options here:
1) get the information directly from the messages table, and ignore roundcube and try and piece everything together myself - this seems a bit like re-inventing the wheel though
2) open roundcube in a frame at the bottom of the page, but instead of showing the usual inbox I would need to somehow customize it to get rid of the headers, the left sidebar, and only show relevant messages.
I would *not* need to be able to send/receive new email from here, only display messages that are already in the 'messages' table that satisfy certain conditions.
Is there an easy way to make a new template with a new 'inbox' view, similar to the current inbox view and open that in a new iframe?
Any advice, hints, other options, and even telling me I should stick to 1) as 2) would be absolutely impossible would be greatly appreciated!
Thanks!
Wendy