How easy is it to integrate RightFax with .NET/C#? We are considering FaxMan, Windows Fax Server also, but we came across RightFax. We basically need to be able to send faxes through a .NET App, monitor status etc.
Consider also using the Fax Service in Windows. Using Windows Fax Service to Send Fax using C#
using FAXCOMLib;
using FAXCOMEXLib;
FaxServerClass fs = new FaxServerClass();
fs.Connect(“<your_computer_name>”); //specifies the machinename
object obj = fs.CreateDocument(“<your_filename>”);
FaxDoc fd = (FaxDoc)obj;
fd.FaxNumber = “<your_fax_number_to_send_to”;
fd.RecipientName = “<your_recipients_name”;
int i = fd.Send();
MessageBox.Show(i.ToString());
fs.Disconnect();
Here's some sample code for RightFax sending faxes, from this other answer, using the Right Fax COM API Library (rfcomapi.dll).
RFCOMAPILib.FaxServerClass faxserver = new RFCOMAPILib.FaxServerClass();
faxserver.ServerName = "ServerName";
faxserver.Protocol = RFCOMAPILib.CommunicationProtocolType.cpNamedPipes;
faxserver.UseNTAuthentication = RFCOMAPILib.BoolType.True;
faxserver.OpenServer();
RFCOMAPILib.Fax fax = (RFCOMAPILib.Fax) faxserver.get_CreateObject(RFCOMAPILib.CreateObjectType.coFax);
// set up your 'fax' object the way you want it, below is just some sample options
fax.ToName = "John Doe";
fax.ToFaxNumber = "4255551111";
fax.ToVoiceNumber = "4255550000";
fax.ToCompany = "ACME";
fax.FromName = "My Company";
fax.FromVoiceNumber = "4255552222";
fax.Send();
I urge you to consider a more modern fax server solution, such as XMediusFAX (www.faxserver.com). RightFax is stil being developed on the same code base as when it was introduced in 1993. XMediusFAX sprang from its predicessor LightningFax, whcih was released in 1996. However, realizing that needs for advacned functionality such as High Availabilty, Disaster Recovery, mulittenancy, and the like could not be addreessed effectvely with outdated development tools, XMediusFAX went through a total rewrite, encorporating SOA, CORBA, and other more modern programming methodologies that are now accepted as best practices in the development of high-end, mission critical systesm. XMeidusFAX also added the first ever T.38 (FoIP) driver ever introduced. In fact, it beat Dialogic (what everyone else including RightFax uses) to market by 5 years, and as such provides a mature solution that has been time-tested in high volumes. It also means that you have only one place to call for support. With RightFax and all others, you have at least two.
And of course, a .NET/Web Servcies API that is both simple to execute yet robust is available. In short, any search for a modern, effective, and tested fax server solution must include XMediusFAX, the worldwide leader in T.38 Fax Servers. I hope this helps.
Hello, there is a notification framework from fuel9 called Boomerang that supports windows fax server. The framework has a database interface so it supports .Net and anything else that may connect to a database server. I saw that they are working on a Rightfax extension as well but we have only MS fax in our infrastructure. Boomerang has been working great for us and with few sql statements will can create an automated fax (or email, printing, ftp etc) solution.
/B