Mail Framework for C Language
The purpose of this mail library is to provide a portable, efficient framework for different kinds of mail access: IMAP, SMTP, POP and NNTP.
It provides an API for C language.
You need to install autoconf, automake and libtool. They can be installed using brew.
$ ./autogen.sh
$ makeYou can use flag --with-poll for using poll() instead of select() for checking connection status
$ gcc -c -o sample.o sample.c `pkg-config libetpan --cflags`
$ gcc -o sample sample.o `pkg-config libetpan --libs`Install Xcode and CMake. Autoconf, Automake, and Libtool are optional; when present, the bootstrap refreshes the checked-in autotools output.
Configure libEtPan, initialize the dependency submodules, and build their XCFrameworks:
$ ./build-mac/bootstrap.sh
Open build-mac/libetpan.xcworkspace
Choose the correct target "static libetpan" for Mac or "libetpan ios" for iOS.
To build all supported slices, choose the "libetpan xcframework" target. The result is written to build-mac/build/LibEtPan.xcframework.
Build
libetpan.xcodeproj as sub-projectbuild-mac/dependencies/build/JsonC.xcframework and build-mac/dependencies/build/CyrusSASL.xcframeworklibetpan.xcodeproj as sub-projectbuild-mac/dependencies/build/JsonC.xcframework and build-mac/dependencies/build/CyrusSASL.xcframeworkSee http://etpan.org/libetpan.html for more information and examples.
No open issues yet, or sync has not completed.