Skip to content

pushkarsingh/libetpan

This branch is 610 commits behind dinhvh/libetpan:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

May 27, 2013
46bd006 · May 27, 2013
May 11, 2013
Mar 28, 2013
Jul 19, 2011
Jul 19, 2011
Jul 19, 2011
May 15, 2013
Dec 3, 2012
Jan 19, 2013
Jul 19, 2011
Jul 19, 2011
Jul 19, 2011
Jul 19, 2011
Jul 19, 2011
May 27, 2013
Mar 1, 2013
May 5, 2013
Dec 3, 2012
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.

Features

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

Build instructions

Unix

$ ./configure
$ make

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

More information

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

About

Mail Framework for C Language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published