Q: How can I send mail from within a C program?
A: Under Unix, open a pipe to the mail program, or perhaps /usr/lib/sendmail. See question 19.30.
Hosted by