On 26.12.2011, at 9.48, Stan Hoeppner wrote:
On 12/26/2011 12:43 AM, Alexander Chekalin wrote:
I tried to create folder named like 'Old Mail' (and in fact I got another mbox container), while I needed to create 'Old Mail/' (note the slash), which results in real filesystem directory.
Oh wow, that is simple. And makes perfect sense. Before my last reply I read the php IMAP command set definitions/parameters and I didn't see anything about how to do this, which is an odd omission in documentation. I guess so few people use mbox these days they omit that case from the docs. I hit three different sources and none of them mentioned the trailing slash for creating 'sub-folders-only' folders...
That's not PHP-specific, but rather IMAP-specific. It's in RFC 3501.