Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Invoke Unix command from Pro*C
On 19 Jun 2003 14:29:20 -0700, Nick Li wrote:
> I am writing a Pro*C program which generates a flat file to be sent to
> different users through email. Can anyone let me know how I can invoke
> the Unix mail command in the Pro*C program to send the files? In
> PL/SQL script, I can invoke the Unix command like ! mail rececipt ...
system ('mailx -s "subject here" ningli2000_at_hotmail.com < flat_filename') ; Received on Thu Jun 19 2003 - 16:34:54 CDT