Sending Fax From ASP Page
this articles explain how to send fax from ASP page
u need faxcom.dll to creat an instance fro Faxserver.
1) First Create an intance for FaxServer
Set FaxServer = CreateObject("FaxServer.FaxServer")
2) Specify the Fax Machine
FaxServer.Connect ("\\" & FaxMachine)
FaxServer.Connect ("\\" & FaxMachine)
3)Select the input document you want to send as Fax
Set FaxDoc = FaxServer.CreateDocument(FileName)
Set FaxDoc = FaxServer.CreateDocument(FileName)
4) Specify Fax Number
FaxDoc.FaxNumber = FaxNumber
FaxDoc.FaxNumber = FaxNumber
5) Send Fax
FaxDoc.Send
FaxDoc.Send
6) Initialize to nothig
Set FaxDoc = Nothing
Set FaxServer = Nothing
Set FaxDoc = Nothing
Set FaxServer = Nothing
References: MSDN
No comments:
Post a Comment