Skip to content

disaykin/libetpan

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 Cannot retrieve latest commit at this time.
May 7, 2016
Mar 27, 2016
Mar 20, 2015
Jul 19, 2011
Jul 19, 2011
Jul 19, 2011
Sep 20, 2016
May 16, 2016
Sep 15, 2015
Mar 9, 2016
Sep 15, 2015
Jul 19, 2011
Jul 19, 2011
Jul 19, 2011
Jul 19, 2011
Jul 19, 2011
May 8, 2016
Mar 1, 2013
May 26, 2016
Mar 20, 2015
Jul 19, 2011
Jul 19, 2011

Repository files navigation

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

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 `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.

About

Mail Framework for C Language

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 95.6%
  • Makefile 2.1%
  • Objective-C 0.9%
  • M4 0.6%
  • Shell 0.5%
  • C++ 0.3%