how to tell if fax was sent or deleted by user manually?

  • Thread starter Thread starter Alexey Yakovlev
  • Start date Start date
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
 
Could somebody from Microsoft please give any clue how .tif filename
in ".../Sent Faxes" ".../SentItems" is generated? On Win2k it looks
like "64a62f7400.tif" and on WinXP "S-1-5-21-1614895754-789336058-
1343024091-1003$201c3980f567845.tif". Is it a random string? Send
time?

Thank you,
Alexey
 
It is not recommended to use name of the tif files in the Sent Items folder,
as you might have observed might change with OS. Tiff tags are used to store
sender and message information in the fax file. I would ask you to take a
look at the Tiff tags of the fax files in the sent items folder, and see if
you can use some combination of tags as primary key to identify the fax
messages.

--
Loganatr [MSFT]
Microsoft Printing, Imaging and Fax Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.'
 
Loganatr said:
It is not recommended to use name of the tif files in the Sent Items folder,
as you might have observed might change with OS. Tiff tags are used to store
sender and message information in the fax file. I would ask you to take a
look at the Tiff tags of the fax files in the sent items folder, and see if
you can use some combination of tags as primary key to identify the fax
messages.

Thank you for reply. Yes, tags seemed like a great idea at first.
I didn't know these .tif files have them. On Win2k there are 5
custom (i.e. not image related, with names like 'Tag #4000X')
tags, WinXP has 21 and some are even useful (like document name).
Unfortunately, same names are used for different fax properties
on Win2k and WinXP, so they are OS dependent also.

Alexey
 
Back
Top