in

Data Techniques Forums

Re-sending failed faxes

Last post 12-09-2008 11:28 AM by Admin. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 12-03-2008 4:19 PM

    Re-sending failed faxes

    If my code looks like this....

    FaxMan.FaxNumber = "555-1212"

    FaxMan.FaxFiles = "c:\myfax.fmf"

    FaxMan.SendFax ’send the fax

    and the fax failed (no answer, no-dialtone, etc.) is there a way to resend/retry this failed fax automatically?  Or I have to pick each failed faxes and send it again using SENDFAX referencing the LOG* properties of each failed faxes?

  • 12-03-2008 5:11 PM In reply to

    Re: Re-sending failed faxes

     Hi,

     

    Set the FaxRetires properties to tyhe # of times you want Faxman to retry the fax and the RetryInterval property to the interval in seconds between those attempts. Set these  properties prior to calling SendFax,

  • 12-09-2008 10:48 AM In reply to

    Re: Re-sending failed faxes

    Thanks for the reply.  If I'm sending multiple faxes, how does faxman handle this?  Is there a property for checking the status of a file that was sent using SENTFAX? Can faxman can automatically send another file even if the retry or interval is not met yet based on the previous file the I sent?

    starttimer.enabled = .F. 

    for x = 1 to nn

    FaxMan.FaxNumber = "555-1212"

    FaxMan.FaxFiles = "c:\myfax.fmf"

    FaxMan.faxretries = 3

    FaxMan.faxretryinterval = 30

    FaxMan.SendFax ’send the fax

    endfor

    starttimer.enabled = .T. 

     

  • 12-09-2008 11:28 AM In reply to

    Re: Re-sending failed faxes

     Hi,

    Faxman has a queue based system where faxes are sorted by the send time. If a faxe is ready to be sent then faxman will send it at the next available opportunity. When a fax failes the faxjob is moved back to the pending queue and the send time is incremented by the retryinterval. If other faxes are ready to be sent prior to that failed jobs interval then they will be sent.

Page 1 of 1 (4 items)
Copyright 2009 Data Techniques, Inc. All Rights Reserved.