I type the following at "command for Automatic Action": echo 'trap recieved from $E down' | smtpmail -h mail.xxx.com -s '$E down' firstname.lastname@example.org
I never recieve the mail. However, the above command works from command line.
The followings are from the ovaction.log: Wed Apr 26 14:19:40 Command "echo 'trap reciev from compaq down' | smtpmail -s mai l.xxx.com -s 'compaq down' email@example.com" returned standard output data: 'trap reciev from compaq down' | smtpmail -h mail.xxx.com -s 'compaq down' wlee@xx x.com
It seems to me the pipe never work. Only echo works. Echo takes everything after echo as string and does not recongize the "|" command. I put c:\\mks\\mksnt\\echo.exe to use the echo from mks. The result is same.
By default NT doesn't have user bin, it seems that the equivalent user bin is called LocalSystem Account. I am not sure, but I believe that by default Automatic Actions are running in NT using a System Account while in UNIX they use user bin.