Support Center

FaxStatus.Error never fired

Richard Dec 16, 2016 04:39PM EST

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?

1 Data Techniques Response

Up 0 Rated Down
DTI Support  Data Techniques Employee Dec 19, 2016 11:30AM EST

Hello Richard,

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.

Sincerely,
Sean
Data Techniques Support

This question is closed to new answers.

Contact Us