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
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