You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() Add some of the headers in the vcproj to help finding code in visual stu... |
8 years ago | |
---|---|---|
build-android | 9 years ago | |
build-mac | 9 years ago | |
build-windows | 8 years ago | |
doc | 12 years ago | |
include | 12 years ago | |
m4 | 12 years ago | |
src | 8 years ago | |
tests | 9 years ago | |
travis | 9 years ago | |
.gitignore | 9 years ago | |
.travis.yml | 9 years ago | |
AUTHORS | 12 years ago | |
COPYRIGHT | 12 years ago | |
ChangeLog | 12 years ago | |
Makefile.am | 12 years ago | |
NEWS | 12 years ago | |
README.md | 9 years ago | |
autogen.sh | 10 years ago | |
configure.ac | 9 years ago | |
libetpan-config.h.in | 8 years ago | |
libetpan-config.in | 12 years ago | |
rules.mk | 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
You need to install autoconf, automake and libtool. They can be installed using brew.
$ ./autogen.sh
$ 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
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.