code: protected void submitFaxJob(HylaFaxJob faxJob,HylaFAXClient client) throws Exception
      {
          //get job
          Job job=faxJob.getHylaFaxJob();
  
          //add document to fax
          String filePath=faxJob.getFilePath();
          job.addDocument(filePath);
          
          //submit job
          client.submit(job);
      }
docs: This function will submit a new fax job.<br>
  The fax job ID may be populated by this method in the provided
  fax job object.
  
  @param   client
  The client instance
  @param   faxJob
  The fax job object containing the needed information
  @throws  Exception
  Any exception