This could be done using componnents based programming language (such as Borland C++ Builder) but I want the original C++ code to generate a program that sends an email using regular WinAPI functions. The code will have some kind of function that will accept the "To" field, the "From" field, the "subject", and the "body" field. Then later on, the email will be sent to a server (I am guessing using a Winsock maybe). Server side also, a code will be ready to accept that email which will have to later forward it the appropriate address. Remember, such things can be done easily using ready-built components, I am intersted in the code itself that does all that (maybe built using Borland C++ for Windows or something like that, I dont know). Thanks alot fellows for your help. Consider mailing me if you want at firstname.lastname@example.org for any further clarifications.