Dear roundcube Developers,
first of all we would like to thank all envolved developers for their great work done with roundcube. We think it is by far the best webmailer, especially when it comes to message parsing.
And that's where my question belongs to. I guess every single php developer that once tried to access emails with his own script, struggled around with the message encoding. Sometimes the message body is in this mail part, sometimes it's there, sometimes it's spread over several msg parts. Even if this would be enough, the next problem are message body encoding and message title encoding issues. Over the years, we build a relatively good webmailer for our internal company script, but there are still major problems with some mails. All of these mails are parsed without errors by roundcube. That's why we would like to use roundcubes imap library and message/attachment parsing methods.
Yesterday I did my walk through the svn code and as noted in the code, roundcube developers also have had and still have open issues with message parsing and caching. That makes me feel fine, we are not the only one.
The problem I am currently facing is how to use the imap library. There is no documentation, is it? I mean some sample scripts like accessing a server's message list, read email titles, send dates, other header info, then the body and afterwards, extract attachments.
Someone extracted the imap libs here: https://github.com/MaZderMind/Roundcube-IMAP-Library
But as I experience, he did not do the whole job. For example, Text2Html is missing. And, this project seems to be unmaintained.
And there are still open questions like how and where caching is done (does it need to be set up?) and how to access attachment's infos like file names, etc.
Do you have some docu, books, sites, threads or sample code I could learn from to be able to use the libraries?
I am looking forward to hearing from you. Again, thanks so much for your great work.