Home

Awesome

LibEtPan

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.

Build Status Code Quality: Cpp Total Alerts

Features

Build instructions

Unix

You need to install autoconf, automake and libtool. They can be installed using brew.

$ ./autogen.sh
$ make

You can use flag --with-poll for using poll() instead of select() for checking connection status

How to link with it

$ gcc -c -o sample.o sample.c `pkg-config libetpan --cflags`
$ gcc -o sample sample.o `pkg-config libetpan --libs`

Mac / iOS

Setup a Mac project

Setup an iOS project

Build on Windows

More information

See http://etpan.org/libetpan.html for more information and examples.