title: send fax with C# and FAXCOMLIb
body: <p>I am working on a project to send 2 files with fax several times.
  this is my code : </p>
  
  <pre><code>public static bool SendFax(string Recipient, string Number, params string[] Files)
  {
      FaxServer server = new FaxServerClass();
  
      try
      {  
          server.Connect(Environment.MachineName);                    
          for (int i = 0; i &lt; Files.Length; i++)
          {    
              FaxDoc faxDoc = (FaxDoc)server.CreateDocument(Files[i]);
              faxDoc.RecipientName = Recipient;
              faxDoc.FaxNumber = Number;                                                
              faxDoc.Send().ToString();    
          }    
          return true;    
      }
      catch
      {
          return false;
      }
      finally
      {
          server.Disconnect();
      }    
  }
  </code></pre>
  
  <p>I have a grid, When user click on a button , i call this method for each row of grid. Problem is here , I want remove each row ,if fax set successfully , but how i can find out my fax sent correctly or not ?</p>
  
  <p>thanks</p>
  
  <p><strong>More Info</strong> : </p>
  
  <p>Working with VS 2010 , Windows App , C# </p>