Why not try vbsendmail.dll, it's been around for a while now, with full source code, only need winsock.
You can find it in this link
http://www.freevbcode.com/ShowCode.Asp?ID=109