I want to send email from a C++ program.
I want to do it using sendmail. Well, actually I don't care how, I just found that none of the smtp libaries work...
The way to do this, I found via google, is this:
echo "This will go into the body of the mail." | mail -s "Subject line" firstname.lastname@example.org
The problem is, the mail never arrives at destination. Now what I find peculiar: Shouldn't there be a need for a smtp-server URL? Such as smtp.my-provider.com:25 ?