libetpan - fdik
 
 
 
 
 
Go to file
Krista Grothoff 27bab78968 modifications for memoryhole and main texts in attachments 2016-12-13 15:11:40 +01:00
build-android Android: added ICONV_PREFIX as a build.sh env var 2016-02-22 16:59:03 +01:00
build-mac Fixed warnings in Xcode build. 2016-01-18 23:52:23 +01:00
build-windows modifications for memoryhole and main texts in attachments 2016-12-13 15:11:40 +01: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 modifications for memoryhole and main texts in attachments 2016-12-13 15:11:40 +01: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 Fixed warnings in Xcode build. 2016-01-18 23:52:23 +01: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.