<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Read the man page on "system()". You
can call any script that way. For example:<br>
<br>
int i = system( "cat myfilename | mailx -s 'my subject'
<a class="moz-txt-link-abbreviated" href="mailto:recip@mail.com">recip@mail.com</a>");<br>
if( i != 0 ) ... //handle the error<br>
<br>
<br>
<br>
<br>
On 1/20/14, 4:59 AM, PV Juliet wrote:<br>
</div>
<blockquote
cite="mid:CADZXD7DuHFOh3tBfcZ9gZiz6qJTzeW_6nbtuNt3c4ett0jzPbA@mail.gmail.com"
type="cite">
<div dir="ltr">Hi All,
<div> I am writing some information to fie using fprintf .how
can i send this as alert to some users in mail? Can i do it
from c program ? or is if possible to use some scripting to do
this ? which scripting will be good?</div>
<div><br>
</div>
<div>Thanks and Regards</div>
<div>Juliet</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
This is the Linux C Programming List
: <a class="moz-txt-link-freetext" href="http://lists.linux.org.au/listinfo/linuxcprogramming">http://lists.linux.org.au/listinfo/linuxcprogramming</a> List
</pre>
</blockquote>
<br>
</body>
</html>