michael@infidel.lanl.gov (Michael I Angerman) (05/13/89)
I have a program I have written in C and part of the program mails files to people on the internet. What I want is a short subroutine or "system call" on the Sun that does the following: sendmail(username,filename); Where username is the string "michael@cardinal.lanl.gov" and filename is /usr/michael/file Does anyone have a program that does this ? I am thinking that the only way to do this is to fire up a shell program that sends mail and pass to the shell the username and filename. Any sugguestions or input would be appreciated.... Thanks, Michael Angerman