libetpan - fdik
 
 
 
 
 
Go to file
Edouard Tisserant 9e697848c2 Fixed build settings for nboxcube. 2015-12-17 09:53:46 +01:00
build-android Fixes for android build 2015-08-21 18:10:52 +02:00
build-mac Fixed build settings for nboxcube. 2015-12-17 09:53:46 +01:00
build-windows Merge https://github.com/dinhviethoa/libetpan 2015-10-02 21:23:37 +02:00
doc import from CVS 2011-07-19 22:49:12 +02:00
include import from CVS 2011-07-19 22:49:12 +02:00
m4 import from CVS 2011-07-19 22:49:12 +02:00
src Merge https://github.com/dinhviethoa/libetpan 2015-10-02 21:23:37 +02:00
tests added critical section deletion on windows 2014-11-13 16:44:12 +03:00
travis Automatically choose SDK on Travis 2015-09-15 15:27:48 -07:00
.gitignore enable zlib on windows. 2014-11-24 16:34:37 -08:00
.travis.yml Use Xcode7 on Travis 2015-09-15 15:15:45 -07:00
AUTHORS import from CVS 2011-07-19 22:49:12 +02:00
COPYRIGHT import from CVS 2011-07-19 22:49:12 +02:00
ChangeLog import from CVS 2011-07-19 22:49:12 +02:00
Makefile.am import from CVS 2011-07-19 22:49:12 +02:00
NEWS import from CVS 2011-07-19 22:49:12 +02:00
README.md Fixed Travis script 2014-04-24 13:19:37 -07:00
autogen.sh fixed warning 2013-02-28 18:35:39 -08:00
configure.ac Generate automatically public headers for windows 2014-11-17 14:23:16 -08:00
libetpan-config.h.in The inline keyword is not part of C in visual studio but is part of C++ and it is illegal to re-define a C++ keyword. This change makes it so that we define the inline only when this header file is included in C. 2015-03-20 15:54:31 -03:00
libetpan-config.in import from CVS 2011-07-19 22:49:12 +02:00
rules.mk import from CVS 2011-07-19 22:49:12 +02:00

README.md

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

Features

  • IMAP
  • SMTP
  • POP
  • NNTP
  • RFC822/MIME message builder
  • RFC822/MIME message parser
  • Maildir
  • mbox
  • MH

Build instructions

Unix

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`

Mac / iOS

  • Download Xcode
  • Open build-mac/libetpan.xcodeproj
  • Choose the correct target "static libetpan" for Mac or "libetpan ios" for iOS.
  • Build

Setup a Mac project

  • Add libetpan.xcodeproj as sub-project
  • Link with libetpan.a

Setup an iOS project

  • Add libetpan.xcodeproj as sub-project
  • Link with libetpan-ios.a
  • Set "Other Linker Flags": -lsasl2

Build on Windows

  • See README and Visual Studio Solution in build-windows folder

More information

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