libcmime  
A lightweight C mime library
Examples
Here is a list of all examples: