libcmime is a lightweight mime library, written in C. It attempts to be a general library for parsing and creating mime email messages and is designed to provide an easy to use and easy to integrate interface for developers. libcmime is a pretty fresh project so the library is still in beta state and there will be early and frequent releases.
You can download the sources at http://libcmime.org/files Development is done using Git
For proper compilation and functionality of libcmime, the following packages are REQUIRED:
libcmime uses cmake instead of the autotools "configure" script. Cmake normally uses a separate build directory - follow these steps to configure, build and install this package from source:
Some systems require unusual options for compilation or linking that the 'cmake' script does not know about. Run './cmake -h' for details on some of the pertinent environment variables. You can give 'cmake' initial values for configuration parameters by setting variables in the command line or in the environment. Here is an example:
Instead of defining parameters on the command line you can also create a "build.properties"-file in the source of libcmime and define your configuration parameters there. Here is an example for a "build.properties"-file:
By default, 'make install' installs the library under '/usr/local/lib' and the include files under '/usr/local/include'.
The developers mailing list (http://groups.google.com/group/libcmime-devel) is used for discussions and questions about development with libcmime.
libcmime is released under the MIT license.