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

  • Thread starter Mohammad Reza Ghabeli
  • 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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top