Problem in Send Fax to remote fax server from windows 2003 to windows 2003

  • Thread starter Thread starter Mohammad Reza Ghabeli
  • Start date Start date
M

Mohammad Reza Ghabeli

My application is as bellow :

using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using FAXCONTROLLib;

public void FuncName()
{
FAXCOMEXLib.FaxServerClass oFaxServerClass = new FAXCOMEXLib.FaxServerClass()
;
oFaxServerClass.Connect("Server Name") //Such As "Damavand";
FAXCOMEXLib.FaxDocumentClass oFaxDoc = new FAXCOMEXLib.FaxDocumentClass();
oFaxDoc.Body = MyFileName // Such As @"E:\1.tif";
oFaxDoc.DocumentName = "Salam";
oFaxDoc.Recipients.Add("15" , "My Recipient Name");
oFaxDoc.ConnectedSubmit(oFaxServerClass);
oFaxServerClass.Disconnect();
}

But with running this code my fax send on local fax server becuase it will
be displayed in local fax console out box list with Fax Printer Name
"Local"

Thanks For Helping with best regards
Ghabeli
 
Back
Top