libetpan - fdik
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Go to file
Hoa V. DINH 1fa8e2ac8d
Fixed include
10 years ago
build-mac Added a patch for Cyrus SASL to fix the regression on iOS. See https://bugzilla.cyrusimap.org/show_bug.cgi?id=3796 10 years ago
build-windows added note for future users 10 years ago
doc import from CVS 12 years ago
include import from CVS 12 years ago
m4 import from CVS 12 years ago
src Updated for MSVC build 10 years ago
tests Fixed include 10 years ago
.gitignore Broaden Xcode cruft ignores for new project 10 years ago
AUTHORS import from CVS 12 years ago
COPYRIGHT import from CVS 12 years ago
ChangeLog import from CVS 12 years ago
Makefile.am import from CVS 12 years ago
NEWS import from CVS 12 years ago
README.md Added readme 10 years ago
autogen.sh fixed warning 10 years ago
configure.ac Merged 695f3af0e6882efe80ba0542c59d67fc77a229b8 to upstream: implement of IMAP COMPRESS (RFC 4978). Thanks to Ian Ragsdale. 10 years ago
libetpan-config.h.in support for Hurd (is it even used?) 10 years ago
libetpan-config.in import from CVS 12 years ago
rules.mk import from CVS 12 years ago

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.

Features

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

Build instructions

Unix

$ ./configure
$ 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

More information

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