Hylafax Mailing List Archives

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

Re: How to retrieve DONEQ information back into my application



If you feel adventurous, you can play excellent games with Perl and
Net::FTP.  I did an intranet interface in Perl, allowing people to view the
sent and done queue status.

Basically, you can use Net::FTP to connect to the HylaFAX server at port
4559 (standard).  "cd" to the /sendq (or /doneq) directory, and do an "ls"
and see the list of files, status, times, other cool stuff.

Your installation may need you to "login" to hfaxd (the listener at port
4559) before going anywhere.  There are a few other tricks (such as setting
display formatting) -- a really good way to experiment is to telnet into the
host's port 4559, and you can talk to hfaxd directly to see the commands
it'll take via Net::FTP's quote() method.  Be sure to do a "help" command!

-Alan


-----Original Message-----
From: JXRGEN ANZER <RICK_@t-online.de>
To: Hylafax <flexfax@sgi.com>
Date: Tuesday, December 01, 1998 12:13 PM
Subject: flexfax: How to retrieve DONEQ information back into my application


Hi gurus!

At first I want to mention that the HylaFAX software works great and
Iīve managed to fax out of our application.

This application is based on Informix and I used the "output to file"
command and then automatically send this file to sendfax with the
destination number.

Now, here is my question:

Is there a way / what is the best way to make sure, that the fax has
really been sent succesfully.

I know that HylaFAX mails the user if it canīt deliver the sent-job -
unfortunately some of our users *never* look in their mailbox. Most of
our user are not familiar with *nix at all and only work within their
business application.

So I want to make sure, that their faxjobs have really been sent and
that this is visible to them within their application in a form like
"faxed/printed at 01/12/98" or something like that.

So - how do I retrieve this information out of HylaFAX?
Searching through the doneq and sentq directories?
Has anyone out there got some experience with this?

many thanks in advance,
any help will be appreciated

juergen anzer


--
snail: ANZER GmbH - Pieperstr. 14 - 32791 Lage - Germany
email: rick_@t-online.de
voice: (0049) 5232 / 9777-21
fax: (0049) 5232 / 78094



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