I've seen the wars going on the last couple of days with people being tired 
of answering stupid questions, so my apologies if this appears to be such a 
question.

I've learned that in Perl, sending an e-mail through the system is as simple 
as outputting to /usr/bin/sendmail -t. I figured that doing this with C++ 
would be just as simple; I'd just open an ofstream with ios::app and print 
to it. However, this doesn't seem to work, and after conducting what I feel 
to be an exhaustive search of the web, I'm seeing nothing on the subject. 

Has anyone ever sent mail using a C++ program? If so, I'd appreciate either 
some tips or a pointer to a URL discussing it. 

Thanks in advance. 

Alex Le Fevre

Reply via email to