HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

email notify with attached fax - the script(?)



Hi!
I modified the notify script as follows, to avoid to get _two_ messages

snip ----

if [ "$WHY" = "done" ]
then
/var/spool/fax/bin/sendtiff $QFILE

else
($AWK -F: -f bin/notify.awk why=$WHY jobTime=$JTIME nextTry=$NEXT $QFILE ||
{
      echo ""
      echo "Sorry, there was a problem sending notification;"
      echo "something went wrong in the shell script $0."
      echo ""
      exit 1;
  }
) | 2>&1 $SENDMAIL -t -ffax -oi

fi

cu
ferdinand




Project hosted by iFAX Solutions