If your C code is running on UNIX then its kinda trivial .. you could write out the email piece to a file .. and do a system call .. system ("mail destination < foo.txt") .. (syntax?) .. if you're not on a unix system .. and you dont have a external mailer that can take parameters for a destination and a file to mail .. then you can always just write a quick socket connection to port 25 (mail port) of a mail server .. and do some quick mail commands to the port.. along with the data to send .. and send your mail ... At 06:00 PM 7/4/96 -0400, M.A.Clubine wrote: > > >How would you tell c code to email out information. Such as everytime a >player was created, write to the text file, and email to someone@edu? > >Monroe >Eternal > > > > __o > _`\<,_ Michael Andrew Clubine > (*)/ (*) http://web.syr.edu/~maclubin __o >`'`'``'``'`'~\_ maclubin@syr.edu _`\<,_ > \ (*)/ (*) > \ o__ o~_ ___/~`'`'`'` > \ _,>/`_ _,>/`_ _/ > \_ (*) \(*) (*) \(*) / > ~~~~~~~~~~~~~~~~````'`'`'`'`'`''~~~~ > > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=- Ricardo Lagos <lagos@ucla.edu> UCLA Computer Science. <ricardo@seas.ucla.edu> [=] Exercise your right to privacy ... Use PGP [=] Public PGP Key avaliable by finger at: ricardo@seas.ucla.edu
This archive was generated by hypermail 2b30 : 12/07/00 PST