dinhvh/libetpan logo

dinhvh/libetpan

Free

Mail Framework for C Language

FreeFree tier
Type
Open Source

About dinhvh/libetpan

LibEtPan is a portable, efficient mail framework for the C language that provides a unified API for accessing and manipulating email across multiple protocols including IMAP, SMTP, POP, and NNTP. It includes an RFC822/MIME message builder and parser, and supports local mailbox formats such as Maildir, mbox, and MH. The library is designed to be cross-platform with build instructions for Unix, macOS/iOS, and Windows.

Key Features

IMAP support
SMTP support
POP support
NNTP support
RFC822/MIME message builder
RFC822/MIME message parser
Maildir mailbox format support
mbox mailbox format support
MH mailbox format support
Portable across Unix, macOS, iOS, and Windows

Pros & Cons

Pros
  • Portable across multiple operating systems
  • Supports multiple email protocols (IMAP, SMTP, POP, NNTP)
  • Open source under a permissive license
  • Lightweight and efficient C library
  • Includes MIME message building and parsing

Best For

Building email client applicationsDeveloping email server softwareMail processing and filtering toolsIntegrating email functionality into C-based systems

FAQ

What protocols does libetpan support?
libetpan supports IMAP, SMTP, POP, and NNTP for mail access and transfer.
Is libetpan cross-platform?
Yes, it provides build instructions for Unix, macOS/iOS (via Xcode), and Windows (via Visual Studio).
What local mailbox formats does libetpan support?
It supports Maildir, mbox, and MH mailbox formats.