I want to send a FAX from the my application C# and ASP.net. On the hosting machine the Microsoft Small Business Server is installed.
Now my question are:
1) Which DLL/API i have to use to send the FAX from C# ?
2) Which type of hardware like modem etc we have to use for sending the FAX (Please tell me the name and configuration of the modem so that i can purchase it)?
you need to use Tapi (Telephony App Prg Interf) 3.x. Tapi 3.x is a COM as dll in the Windows systems.
Tapi was created by Microsoft and IBM in order to offer programmers an unified API for accessing phone, fax, email.
Every modem, fax, phone producer may or may not implement Tapi X.X interface.
When u buy the hardware ask if implemets and how much. For fax i think that u can use Fax and Modem TSP provider that comes with Windows.
Go to Phone and Modem options in Control Panel and u can see the list of TSP (telephony service provider) installed on your system.
Other important thing: u can designate a machine as Telephony server and use tapi extensions (send commands and receive events) remotelly.
On Microsoft page is a statement that Tapi 3.x does not work with managed code, but is not true. I\v implemented a Phone Ware server that is now in production.
Yours,
Popa D. Stelian
MCP/MCAD/MCSD
www.simplusoft.net co-founder
ROMANIA
Marked as answer by Kevin Yu - MSFT on Jun 21, 2007 07:44 AM
I am sending FAX using "Fax Service Extended COM reference". I am able to send the FAX successfully but not able to apply the phone and modem dialing rules.
Suppose from my office we have to dial 0 before dialing any number. If i want to dial a number like 5061719, its a local number so for dialing this number i have to dial 0-5061719.
Can any body suggest me how can i use the dialing rule when i send a fax?
<div class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: center" align=center>
</div> <div class=Section1>Hi Laxman,I
have done this thing on the Windows XP Professional and the Windows 2003 server (Small Business server). I don’t have any idea about the Windows 2000 Professional.Before
running the application you must installed the FAX server on the machine. This will be available in the windows component in ADD/Remove program of control panel.And
After that you need to install the Windows SDK according to the version (XP or 2003) and than you can get the Fax sever extended COM api for sending a fax.ThanksChaitanya
<div> <div class=MsoNormal style="TEXT-ALIGN: center" align=center></div>From: [removed by moderator] Sent: Thursday, August 23, 2007 9:39 PM To: [removed by moderator] Subject: RE: help please</div>Dear
Chaitanya,Thanks for you prompt reply. Before I start looking into the code, I need to get some info from you. I am using Windows 2000 Professional
as an operating system. What do I need to have installed on my computer to make it work? Some of the blogs on web mentioned about Fax Server. Do I have to install it on my machine or some other machine? If so, where do I get this Fax Server?
Please send these details
and any other required details at your earliest convenient time. Again,
THANK YOU VERY MUCH FOR HELPING ME!!! <div>Thanks
and Regards, [removed by moderator]</div> <div> <div class=MsoNormal style="TEXT-ALIGN: center" align=center></div>From: [removed by moderator]
Sent: Thursday, August 23, 2007 3:52 AM To: [removed by moderator] Subject: RE: help please</div>Hi
Laxman,I
am sending some program for sending FAX. All are in VB and C++. But the API used in all program can use in C#.First you need to install windows SDK if you are using windows
XP. And After installation you can add reference from C:\WINDOWS\system32\fxscomex.dll.I am busy today so can not write in details.Hope
it will help you.ThanksChaitanya
<div> <div class=MsoNormal style="TEXT-ALIGN: center" align=center></div>From: [removed by moderator]
Sent: Thursday, August 23, 2007 10:11 AM To: [removed by moderator] Subject: help please</div>Dear Chaitanya,I
need to send fax from my C# windows application.I saw one of yourresponses on forums.asp.com. Can you please send me code snippet and instructions on how to use it? If you have any test application (windows app or asp .net app), that would be really great.I
would highly appreciate any help from you.Thanks and Regards,Laxman
Jadhao</div>
chaitanya_ty...
Member
4 Points
11 Posts
How to send FAX from C#
Jun 20, 2007 06:51 AM|LINK
Hi,
I want to send a FAX from the my application C# and ASP.net. On the hosting machine the Microsoft Small Business Server is installed.
Now my question are:
1) Which DLL/API i have to use to send the FAX from C# ?
2) Which type of hardware like modem etc we have to use for sending the FAX (Please tell me the name and configuration of the modem so that i can purchase it)?
Thanks
Chaitanya
C# code Asp.NET2.0 c#
stelianx
Member
351 Points
85 Posts
Re: How to send FAX from C#
Jun 20, 2007 07:52 AM|LINK
you need to use Tapi (Telephony App Prg Interf) 3.x. Tapi 3.x is a COM as dll in the Windows systems.
Tapi was created by Microsoft and IBM in order to offer programmers an unified API for accessing phone, fax, email.
Every modem, fax, phone producer may or may not implement Tapi X.X interface.
When u buy the hardware ask if implemets and how much. For fax i think that u can use Fax and Modem TSP provider that comes with Windows.
Go to Phone and Modem options in Control Panel and u can see the list of TSP (telephony service provider) installed on your system.
Other important thing: u can designate a machine as Telephony server and use tapi extensions (send commands and receive events) remotelly.
On Microsoft page is a statement that Tapi 3.x does not work with managed code, but is not true. I\v implemented a Phone Ware server that is now in production.
Popa D. Stelian
MCP/MCAD/MCSD
www.simplusoft.net co-founder
ROMANIA
stelianx
Member
351 Points
85 Posts
Re: How to send FAX from C#
Jun 20, 2007 07:53 AM|LINK
I think that SBS comes with TAPI 3.x COM installed. If no see on the Windows components that u have there telephony components
Popa D. Stelian
MCP/MCAD/MCSD
www.simplusoft.net co-founder
ROMANIA
chaitanya_ty...
Member
4 Points
11 Posts
Apply Dialing rule at the time of sending FAX from C#
Aug 10, 2007 12:37 PM|LINK
Hi All,
I am sending FAX using "Fax Service Extended COM reference". I am able to send the FAX successfully but not able to apply the phone and modem dialing rules.
Suppose from my office we have to dial 0 before dialing any number. If i want to dial a number like 5061719, its a local number so for dialing this number i have to dial 0-5061719.
Can any body suggest me how can i use the dialing rule when i send a fax?
Thanks
Chaitanya
c#.net Com Interop
chaitanya_ty...
Member
4 Points
11 Posts
Re: Apply Dialing rule at the time of sending FAX from C#
Aug 13, 2007 07:12 AM|LINK
I got the answer of my question.
we can only apply the dialing rule if the FAX number is in the internation format like [ +91 (172) 50614556 ].
If any body facing any problem related to FAX, Please contact me
Thanks
Chaitanya
Email: chaitanya.t@idsil.com
C# Com Interop
chaitanya_ty...
Member
4 Points
11 Posts
Re: Apply Dialing rule at the time of sending FAX from C#
Aug 31, 2007 04:32 AM|LINK
</div> <div class=Section1>Hi Laxman, I have done this thing on the Windows XP Professional and the Windows 2003 server (Small Business server). I don’t have any idea about the Windows 2000 Professional.Before running the application you must installed the FAX server on the machine. This will be available in the windows component in ADD/Remove program of control panel.And After that you need to install the Windows SDK according to the version (XP or 2003) and than you can get the Fax sever extended COM api for sending a fax. ThanksChaitanya <div> <div class=MsoNormal style="TEXT-ALIGN: center" align=center>
</div>From: [removed by moderator]
Sent: Thursday, August 23, 2007 9:39 PM
To: [removed by moderator]
Subject: RE: help please</div> Dear Chaitanya,Thanks for you prompt reply. Before I start looking into the code, I need to get some info from you. I am using Windows 2000 Professional as an operating system. What do I need to have installed on my computer to make it work? Some of the blogs on web mentioned about Fax Server. Do I have to install it on my machine or some other machine? If so, where do I get this Fax Server? Please send these details and any other required details at your earliest convenient time. Again, THANK YOU VERY MUCH FOR HELPING ME!!! <div> Thanks and Regards,
[removed by moderator]</div> <div> <div class=MsoNormal style="TEXT-ALIGN: center" align=center>
</div>From: [removed by moderator]
Sent: Thursday, August 23, 2007 3:52 AM
To: [removed by moderator]
Subject: RE: help please</div> Hi Laxman, I am sending some program for sending FAX. All are in VB and C++. But the API used in all program can use in C#.First you need to install windows SDK if you are using windows XP. And After installation you can add reference from C:\WINDOWS\system32\fxscomex.dll.I am busy today so can not write in details.Hope it will help you. ThanksChaitanya <div> <div class=MsoNormal style="TEXT-ALIGN: center" align=center>
</div>From: [removed by moderator]
Sent: Thursday, August 23, 2007 10:11 AM
To: [removed by moderator]
Subject: help please</div> Dear Chaitanya,I need to send fax from my C# windows application. I saw one of your responses on forums.asp.com. Can you please send me code snippet and instructions on how to use it? If you have any test application (windows app or asp .net app), that would be really great.I would highly appreciate any help from you.Thanks and Regards,Laxman Jadhao</div>
C# Com Interop