C-client is a common API for accessing mailboxes. For more information, please see the UW IMAP homepage: WWW: http://www.washington.edu/imap/
All prebuilt libraries are available in the php-libs repositories
For PHP suitable sources and up-to-date information see https://github.com/winlibs/imap
The filename format is:
cclient-x.y.z-vcversion-architecture.zip
where x.y.z defines the version, vcversion which Visual C++ has been used and architecture defines whether the build is for win32 or win64.
Only static library (cclient_a.lib) are available for now.
Simply uncompress the sources archives.
Modify the file in imap-2007b\sc\osdep\nt\makefile.w2k, on line 39:
CCLIENTLIB = cclient_a.lib
src\ipopd\makefile.w2k on line 29:
CCLIENTLIB = $C\cclient_a.lib
src\mailutil\makefile.w2k on line 29
CCLIENTLIB = $C\cclient_a.lib
src\mtest\makefile.w2k on line 29
CCLIENTLIB = $C\cclient_a.lib
No other special configuration required. Be sure to have the platform SDK in your path.
The following command:
cd imap-2007b\ nmake /f makefile.w2k
will build the cclient.lib required to build php's imap extension.