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
$ make
$ gcc -c -o sample.o sample.c `libetpan-config --cflags`
$ gcc -o sample sample.o `libetpan-config --libs`
build-mac/libetpan.xcodeproj
libetpan.xcodeproj
as sub-projectlibetpan.xcodeproj
as sub-project-lsasl2
See http://etpan.org/libetpan.html for more information and examples.