RightFax and .NET?

How easy is it to integrate RightFax with .NET / C #? We are also considering FaxMan, a Windows fax server, but we ran into RightFax. We basically should be able to send faxes through a .NET application, monitor status, etc.

+7
c # fax rightfax
source share
3 answers

Here is a 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(); 
+12
source share

There is a notification structure from fuel9 called Boomerang that supports the Windows fax server. The structure has a database interface, therefore it supports .Net and everything that can connect to the database server. I saw that they are also working on the Rightfax extension, but we only have MS fax in our infrastructure. Boomerang works great for us, and with several sql operators you can create an automatic fax solution (or email, print, ftp, etc.).

/ B

+2
source share

Consider also using fax services in Windows. Using Windows Fax Service to Send a 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(); 
+1
source share

All Articles