We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

ImapClient CreateFolder on GMail fails when folder name contains spaces


I want to create folders on a GMail account.

If the folder name contains one or more spaces, the folder will not be created:

if (!imapClient.ExistFolder("A new folder"))
imapClient.CreateFolder("A new folder");
imapClient.SelectFolder("A new folder"); // --> exception, folder doesn't exist


Thank you for inquiry.

I am sorry, but if SelectFolder(“A new folder”) is called, it works at my end and does not throw any exception. However, I got an exception when calling imapClient.CreateFolder(“A new folder”). I have logged this bug (ID: 31043). We will look into this issue and will inform you when it gets fixed.

The issues you have found earlier (filed as 31043 ) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.