Hi,
I need a command to send an email from terminal. The problem is I needed it to be a single line, just press enter and it's gone. The reason is I want to put this in a C program using the system() function, so it has to be something completely automatic, so when I run the program it will be as if I typed everything that is inside system() (like system("mv ~/a ~/b") would rename "a" to "b") in a terminal. So I can run it and the emails are gone, I don't have to type anything by myself. Is there such a command?
Thanks