![]() |
|
|
| Welcome | User Tools | Developer Tools | Prices | Help | Sign up | Login |
| Overview | Web Service | Email Interface | COM Object | Forum | Developer Registration |
| You are here:
Home > Developer Tools > Fax Web Service > Samples > C# - Simple Fax Transmission
and Status Check |
||
Fax Web Service Code SampleC# - Simple Fax Transmission and Status Check (SendCharFax & FaxStatus Methods)Download the C# project file and extract it to a local folder. 2. Using IIS manager, create a virtual directory with the name "Interfax" (without the quotes) pointing to the local folder from [1]. Make sure IIS is running. // Send fax { long lngReturnCode; InterFax.InterFax objIF = new InterFax.InterFax(); lngReturnCode = objIF.SendCharFax("MyUserName","MyPassword","1-303-6868686","This is a sample fax from InterFAX Inc.","TXT"); Response.Write("Send Fax returned code is: " + lngReturnCode);
iLastTransactionID = Convert.ToInt32(Request.Form["TID"]); InterFax.InterFax objIF = new InterFax.InterFax(); Response.Write("ERROR Occured. Result code is:" + iResultCode);else //print results for(int i =0 ; i < iListSize ; i++)}{ |
||
| About | Contact | Privacy | Terms | Partners | Login | System Status © Interfax Inc |