IMAP implemented, but ...
Now, I wrote IMAP4.
But, there are two critical problems.
1. no test
I did not do any tests for the implementation because my IMAP environment requires SSL. The current state is only `compile succeed'.
I'd like to write codes to connect IMAP with hsgnutls, and test as soon as possible.
2. ugly codes
The code is too ugly. And it may have many unnecessary definitions. It also has no comments. I'll brush up my codes later...
IMAP4rev1 is pretty huge protocol. It is difficult to parse the server's response, especially FETCH. Implementing IMAP takes longer and longer time than I thought. I get fed up with IMAP...