I have written a simple C program for sending mails using elm
facility using system() function call.The program is compiling
successfully but while running it gives the error for recipient as
shown below.The command for the elm which is specified here in
system() call is running successfully if specified from the command
line.And also the program is running successfully if the attached
file(bill.txt) is not specified.
/* simple c program to use elm facility to send the attached file */
printf("\n The a is %d",a);
And the program's output is as follow-Quote:}
Must specify a recipient in batch mode.
The a is 256
Now what is this batch mode ??