Hylafax Mailing List Archives

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

Re: [hylafax-users] Testing 4.2 FaxNotify



faxq only runs notify if the job was submitted with notification requests. In other words, send with 'sendfax -D'.

Lee.


Paul D. Kraus wrote:


Ok it finnaly worked seems like its only mailing the attachement when it fails.

This is my FaxNotify Script it should work unless I am missing something.

I would never use this as is just playing around with software. Thanks.



Paul



if [ "$WHY" != "done" ]; then

RETURNFILETYPE=pdf;

fi

if [ "$WHY" = "done" ]; then

RETURNFILETYPE=pdf;

fi



if [ "$WHY" = "failed" ]; then

RETURNFILETYPE=pdf;

fi



if [ "$WHY" = "rejected" ]; then

RETURNFILETYPE=pdf;

fi

if [ "$WHY" = "blocked" ]; then

RETURNFILETYPE=pdf;

fi

if [ "$WHY" = "requeued" ]; then

RETURNFILETYPE=pdf;

fi

if [ "$WHY" = "removed" ]; then

RETURNFILETYPE=pdf;

fi

if [ "$WHY" = "killed" ]; then

RETURNFILETYPE=pdf;

fi

if [ "$WHY" = "timedout" ]; then

RETURNFILETYPE=pdf;

fi

if [ "$WHY" = "format_failed" ]; then

RETURNFILETYPE=pdf;

fi

if [ "$WHY" = "no_formater" ]; then

RETURNFILETYPE=pdf;

fi

if [ "$WHY" = "done" ]; then

RETURNFILETYPE=pdf;

fi


____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services