Skip to content
Projects

dinhvh/libetpan has 634 GitHub stars and 296 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-16 18:49 UTC. Last push 2026-10-23.

How these counts are measured

What you can do

  • Mail protocols and services: IMAP, SMTP, POP3, NNTP, JMAP, ActiveSync, RSS/Atom feeds, and Gmail helpers
  • Message and content handling: RFC 822/IMF, MIME, and message composition
  • Local mailbox storage: Maildir, mbox, MH, and cache database support
  • Security and authentication: TLS, SASL, OpenPGP, and S/MIME

Measured star growth

in 24h
0
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

About

Mail Framework for C Language

Developer Tools

README.md

Original

LibEtPan

LibEtPan is a portable C mail library for accessing, parsing, and composing email and news messages.

Features

  • Mail protocols and services: IMAP, SMTP, POP3, NNTP, JMAP, ActiveSync, RSS/Atom feeds, and Gmail helpers
  • Message and content handling: RFC 822/IMF, MIME, and message composition
  • Local mailbox storage: Maildir, mbox, MH, and cache database support
  • Security and authentication: TLS, SASL, OpenPGP, and S/MIME
  • Platform support for Linux, macOS, iOS, Android, and Windows

Build instructions

The primary maintained build paths are configure and make on Linux and macOS, and Xcode on macOS and iOS. Android and Windows build files are also included.

Linux

Install Autoconf, Automake, Libtool, and ICU development headers, libraries, and converter data (for example, libicu-dev on Ubuntu), then build:

./autogen.sh --with-icu=yes --disable-iconv
make

The maintained Linux build and GitHub workflow use ICU for charset conversion; GNU libiconv is not required. Run the unit tests with:

make -C unittest check

macOS with configure and make

Install Autoconf, Automake, and Libtool, then build:

./autogen.sh
./configure
make

macOS and iOS with Xcode

Install Xcode and CMake, then prepare the workspace and dependencies:

cd build-mac
./bootstrap.sh
open libetpan.xcworkspace

Android

Install Android NDK r23 or newer, set ANDROID_NDK, and build from build-android:

export ANDROID_NDK=$HOME/Library/Android/sdk/ndk/27.1.12297006
cd build-android
./build.sh

See build-android/README.md for dependency details, supported ABIs, and the sample app. The dependency bootstrap builds the pinned ICU submodule and bundles its static conversion libraries and data. Android no longer builds or links GNU libiconv.

Windows

Open build-windows/libetpan.sln in Visual Studio and build the solution.

See build-windows/README.md for supported Visual Studio versions and required third-party binaries.

More information

See DEPENDENCIES.md for required and optional dependencies by platform.

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