a c++ prog that emails you whats written in it

huy guys i need to write a program in c++ that takes what somebody writes in it (command prompt) and emails me that
Just use getline to read the user input and store it in a string.
To send email see: https://stackoverflow.com/questions/7298762/send-email-with-c
Registered users can post here. Sign in or register to post.