LibMAIL reference

LibMAIL is a C++ E-mail access library, which provides a high-level API for accessing E-mail messages stored on POP3 and IMAP servers, or in local mail folders; and for sending mail via ESMTP, or the local sendmail command. LibMAIL also serves as a platform for development of a new experimental network mail access protocol, SMAP, that offers additional capabilities not available in IMAP and POP3.

If available, SSL/TLS is used automatically (when it is supported by the remote server); as such, applications must also link to either GnuTLS or OpenSSL libraries (depending on what LibMAIL was compiled against) in addition to linking with libmail.a.

LibMAIL is currently in active development. Right now the primary development focus is on the Linux platform and the gcc compiler. LibMAIL will probably build on other POSIX platforms; any errors are likely to be minor, and trivial to resolve. A large portion of LibMAIL 's code base is imported from a related project that is known to be stable on all modern operating systems.

At this time, LibMAIL is built as part of the Cone mail client, which has some additional dependencies, namely: curses, libxml2, and OpenSSL or GnuTLS. LibMAIL itself only needs OpenSSL or GnuTLS, but for now the only way to build LibMAIL is by building Cone with the --with-devel option.