Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sendmail+c programs

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
How do i invoke sendmail from within my c program
 
You might want to go to They have a section for scripts written in 'C'. You might down load a few mailform scripts and look at the source code. Basically you would have a form to collect the data then assign that data variables and write them to a temp file. Then call a SendMail function that would pass the temp file and args to sendmail. You could even look at some cgi scripts to see how sendmail works then translate it to 'C'.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top