N
Nick Li
Hi,
I am trying to writing a c program to send email using system()
function call on Unix(Sun Solaris). I tried the following:
#include <stdio.h>
#include <stdio.h>
int main(void)
{
system('mailx -s "Hello" (e-mail address removed) < attached_file');
return 0;
}
This doesn't seem to work. I would appreciate any advice.
Thanks in advance.
Nick
I am trying to writing a c program to send email using system()
function call on Unix(Sun Solaris). I tried the following:
#include <stdio.h>
#include <stdio.h>
int main(void)
{
system('mailx -s "Hello" (e-mail address removed) < attached_file');
return 0;
}
This doesn't seem to work. I would appreciate any advice.
Thanks in advance.
Nick