+2 votes

I have a quick question regarding folder naming, as I'm currently implementing creating/renaming/deleting of folders.

Which characters should I not allow in the folder names when using CreateFolder/RenameFolder?

Obviously whatever separator character the server uses, but which other characters should I remove if any? Because I assume Mail.dll does UTF7 encoding of the name when creating/renaming.

by

1 Answer

0 votes
 
Best answer

Mail.dll IMAP implementation uses UTF7 automatically when needed.

Only separator character should be avoided. Unless of course you want to create a nested folder - server should allow that and create parent folder(s) automatically.

by (297k points)
...