I would like to be notified when an Informix dbexport job fails on a TRU64 system.
My idea is to send an email via telnet, but can only get telnet to do it interactively.
I can do the following steps on my UNIX box interactively, but cannot send an email with a script. Can someone help? Is there a better way to do this?
I tried the following which only works interactively:
telnet xx.yy.zz.ww 25
helo
mail from:
123@123.com
rcpt to:
my@email.net
data
subject: email test
The dog
is in the house
.
quit