I'm looking for an IMAP library to use in a Windows and perhaps OS X project and haven't had much luck finding one I can get working yet.

I've found:

VMime
libEtPan
Chilkat IMAP Library (paid)

Does anyone know of any others or used any of these and have some tips on getting them to compile under windows?