This project is read-only.

Imap: Create new folder

May 16, 2012 at 7:59 AM
Edited May 16, 2012 at 8:01 AM

Good day!

I use Koolwired.IMAP-

I tried to create new folder and I use 

 ImapConnect connect = new ImapConnect() { Hostname=hostname, Port = port, SSL=isSSL};  

ImapCommand command = new ImapCommand(connect);                              


command.Create("New Folder");

After that I don't see any error, but the folder wasn't created.

Please, tell me what's wrong? 

May 16, 2012 at 8:47 AM


I found decision below.

Connection.Write(string.Format("CREATE {0} \r\n", name));

And I had error in my code.