<<< Previous |  | Next >>>

# II. `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 OpenSSL libraries in addition to linking with `libmail.a`.

`LibMAIL` is currently in active development. Right now the primary development focus is on the Linux platform, gcc 3.2. `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. `LibMAIL` itself only needs OpenSSL, but for now the only way to build `LibMAIL` is by building `Cone` with the `--with-devel` option.

<<< Previous | Home | Next >>>
mailtool |  | C/C++ namespace