Net Llama! wrote:
> I'm writing a bash script where I need to send email out depending on 
> certain conditions within the script.
> 
> I'm thought that I could use 'mail' to do the job, but it seems to 
> require human intervention to send the message out.  I'm trying:
> mail -n -s "another test of mail" [EMAIL PROTECTED]

got PHP?

<?php
$to = "[EMAIL PROTECTED]";
$subject = "Alert from Page";
$body = "Page condition met!";
mail($to,$subject",$body);
?>


bool mail ( string to, string subject, string message [, string 
additional_headers [, string additional_parameters]])

-- 
Ken Moffat
[EMAIL PROTECTED]


_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to