How can you send emails in C++ by using system commands in Unix?. I have heard of mailx. what does it do? and can it help solve my problem?