I am trapping all the status changes and the failed event is never fired.
What I see is a FaxStatus.PortShut event and the retry count and then a fax error status.
I have programed around this with logic (args.Fax.FaxStatus == FaxStatus.PortShut) and (args.Fax.FaxError != FaxError.Ok).
My event handlers are
_ifax.FaxStatus += new DataTech.FaxManNet.FaxMan.FaxHandler(fm_FaxStatus);
_ifax.ModemDetectCompleted += new DataTech.FaxManNet.FaxMan.ModemDetectCompletedHandler(fm_ModemDetectCompleted);
_ifax.ServerConfigChanged += new DataTech.FaxManNet.FaxMan.ServerConfigChangedHandler(fm_ServerConfigChanged);
Is there a reason the failed is not being triggered?
You are correct that the .Error status is never encountered, the code you are using is the correct code to detect an error when the session is terminated.
Thanks for your interest in our products and please let us know if you have any questions.
Data Techniques Support
This question is closed to new answers.