libcmime  
A lightweight C mime library
append_and_prepend_subject.c