In the IMAP protocol there is a folder hierarchy character. If you try to create folder with such character in the name, mailserver will create two folders. For example, if a delimiter character is "/", then command CREATE "aaa/bbb"
will create two folders aaa
and bbb
in folder aaa
.
Is it possible to create single folder with delimiter character inside? For example, the single folder with the name aaa/bbb
, without aaa
and bbb
in aaa
folder.
Best Solution
You may try UTF7 encoding:
But RFC says:
http://www.faqs.org/rfcs/rfc3501.html