On Sat, 27 Mar 1999, Julian Buckley wrote: > sprintf(buf, "%s", system_body); > sprintf(filename, "system_info"); > sprintf(buf, "elm -s %s %s < %s", system_subject, email1, filename); > system(buf); > sprintf(buf, "rm %s", filename); > system(buf); It'd be: "mail -s '%s' %s < %s" You need the ' ' for a multi word subject. >different syntax...can anyone see what's wrong with the elm function, and Do you have 'elm' installed? I don't personally. BTW, do "remove(filename);" instead of the last two lines. If you really get picky about the temporary file, look into the popen() function. -- George Greer | The CircleMUD FAQ greerga@circlemud.org | http://developer.circlemud.org/docs/FAQ/ +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST