fmbiete / Z-Push-contrib

Z-Push fork with changes that I will try to contrib
GNU Affero General Public License v3.0
134 stars 62 forks source link

IMAP SPECIAL-USE extension (rfc6154) support #242

Open Takika opened 8 years ago

Takika commented 8 years ago

I think this is a good feature of some imap servers. This is the rfc: https://tools.ietf.org/html/rfc6154 We can use this instead of defines.

fmbiete commented 8 years ago

This would be the perfect solution, I agree with you. BUT, I don't think we have any way to obtain that info using vanilla PHP IMAP support (please correct me if I'm wrong), and we should use another IMAP library (I thought about this, using Horde libs, but it would add an external dependency and a heavy rewrite of the existing code).

Takika commented 8 years ago

I see it. With PHP IMAP extension we cannot get the capability list, and cannot execute any special LIST command :( I use Roundcube for webmail which uses an own imap library too.