Suppose I have two email ids. Example:-
idSender@yahoo.com
idReceiver@yahoo.com

I want to create a dialog based exe in VC++ 6.0. I place a button on the dialog. When I click the button, then an email should be sent from idSender@yahoo.com to idReceiver@yahoo.com
The content of the email is simply "hello".

Is this possible? If yes, then what code should I write in the click event of that button? If required, I can even hardcode the username and password of the sender id in the code.