Csmtp is a project mainly written in C++ and C, it's free.
simple smpt clitent with several little modifications for using in linux
"make " will create simple e-mail sender
utf-8 in mail subject is fixed.