libetpan - fdik
 
 
 
 
 
Go to file
Andreas Buff e70a0d4c9d MACOSINST-26 tries to prepare in Xcode project to lower complexity 2021-06-09 16:38:11 +02:00
build-android Change output dir to match other libs $PREFIX 2019-11-12 18:00:28 +01:00
build-mac MACOSINST-26 tries to prepare in Xcode project to lower complexity 2021-06-09 16:38:11 +02:00
build-windows MACOSINST-26 Fixes: impossible to build for macOS. Also uses explicit libiconv.a 2021-06-09 15:25:34 +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 put quotes back in the parsed quoted string of the address 2020-06-03 16:08: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 configure patch for mac 2020-10-27 15:52:53 +01: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.