What is the easiest way to send an e-mail via C on a Debian system? Programmatically executing system() commands is an acceptable approach. However, will I have to set up my own mail server on my box to send emails if I use something such as mailx or sendmail? I only need to send messages, not receive them.