filePro/email from Unix script file
Jean-Pierre A. Radley
appl at jpr.com
Wed Dec 14 14:27:32 PST 2005
Jeff Harrison propounded (on Wed, Dec 14, 2005 at 01:41:39PM -0800):
| --- Butch Ammon <butch at rich.srcoils.com> wrote:
|
|
| One way to do this would be to put your mail commands
| inside an "if" block as follows:
|
| /appl/fp/dreport (etc)
| if [ -s /tmp/partscheck]
| then
| mail -s (etc)
| mail -s (etc)
| fi
You do NOT need more than one 'mail' command to mail the same thing to
several recipients. Just list all recipients as arguments to a single
'mail' command.
The only reason I can think of for running individual mail commands for
individual recipients would be a requirement that no recipient sees who
else is getting the message.
--
JP
==> http://www.frappr.com/cusm <==
More information about the Filepro-list
mailing list