I am trying to do something with KSH that I am not sure will work. I want to determine if a file is zero byte, if not attach it to an e-mail and send it to myself.
I have used the sendmail prog before but not in this depth.
Example of what I have done:
/usr/sbin/sendmail -f$from -t < $mailfile >/dev/null
Any help would be appreciated.
Ati2ude
I have used the sendmail prog before but not in this depth.
Example of what I have done:
/usr/sbin/sendmail -f$from -t < $mailfile >/dev/null
Any help would be appreciated.
Ati2ude