Does anyone know if there exists a GPL/BSD/Apache/MIT licensed client side implementation of POP3(S) and IMAP(S)? Only client side is needed, no server side stuff. SSL/TLS encryption would be a [italic]huge[/italic] plus. Also, it should be done on the top of Win32 API (or some other library that can be used in Windows).
Eventually I will implement the protocols by myself if there's none to be found, but implementing a protocol such as POP3 or IMAP is boring as hell... Also I'd prefer not to reinvent the wheel -- someone might have done it already smarter that I ever could.
Also, one alternative that I've considered is that I could extract the protocol implementations from some other FOSS project, like Thunderbird, for example. But, of course if there is an open source library for this in existence, then it would save me a lot of werk.
EDIT: Oh, and since this is C/C++ forum, I have to add that the preferred language is C++, though if it's C then it should be compilable as C++ code.
EDIT: Ok, I found one: [link=http://www.vmime.org/index.shtml]VMime[/link]
. It looks promising. I'm going to take a look at it. Anyway, at this point I'm still open for additional suggestions.