filePro/email from Unix script file
Bill Campbell
bill at celestial.com
Wed Dec 14 15:14:52 PST 2005
On Wed, Dec 14, 2005, Jean-Pierre A. Radley wrote:
>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.
Better yet, set up an alias with all the recipients.
Bill
--
INTERNET: bill at Celestial.COM Bill Campbell; Celestial Software LLC
UUCP: camco!bill PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/
``Good luck to all you optimists out there who think Microsoft can deliver
35 million lines of quality code on which you can operate your business.''
-- John C. Dvorak
More information about the Filepro-list
mailing list