A
Alexey Yakovlev
I've written a service that generates and sends faxes automatically
on Win2000. It uses fax notifications to get fax send/fail results.
If user deletes some fax manually, service gets FEI_DELETED and can
set internal status for that fax to "Canceled by user".
Even if my service is stopped, Windows still keeps sending faxes
and user still can delete some of them. Later, when my service
starts it enumerates fax queue and can figure out that some fax
failed, because failed faxes stay in queue with 'Retries exceeded'
status.
Problem is that it cannot tell if particular fax was sent
successfully and moved to ".../All Users/Documents/My Faxes/Sent
Faxes" or it was deleted by user, as in both cases fax just
disappears from the queue.
Looks like I could solve that problem if I somehow could link the
..tif files in ".../Sent Faxes" to JobId they used to have in fax
queue. Is there a way?
Or I probably could prevent users from deleting faxes manually.
How?
Thanks,
Alexey
on Win2000. It uses fax notifications to get fax send/fail results.
If user deletes some fax manually, service gets FEI_DELETED and can
set internal status for that fax to "Canceled by user".
Even if my service is stopped, Windows still keeps sending faxes
and user still can delete some of them. Later, when my service
starts it enumerates fax queue and can figure out that some fax
failed, because failed faxes stay in queue with 'Retries exceeded'
status.
Problem is that it cannot tell if particular fax was sent
successfully and moved to ".../All Users/Documents/My Faxes/Sent
Faxes" or it was deleted by user, as in both cases fax just
disappears from the queue.
Looks like I could solve that problem if I somehow could link the
..tif files in ".../Sent Faxes" to JobId they used to have in fax
queue. Is there a way?
Or I probably could prevent users from deleting faxes manually.
How?
Thanks,
Alexey