code: @Override
      protected void cancelFaxJobImpl(FaxJob faxJob)
      {
          //get connection
          Connection<MailResourcesHolder> mailConnection=this.getMailConnection();
  
          //get holder
          MailResourcesHolder mailResourcesHolder=mailConnection.getResource();
  
          //create message
          Message message=this.createCancelFaxJobMessage(faxJob,mailResourcesHolder);
          
          //send message
          this.sendMail(faxJob,mailConnection,message);
      }
docs: This function will cancel an existing fax job.
  
  @param   faxJob
  The fax job object containing the needed information