Platform SDK: Fax Services |
The FileName property is required to send a fax transmission if you are using the fax client COM implementation. The FaxNumber property is also required, unless you set a property to enable transmission of a fax using an existing line connection. When you transmit a fax you can specify other optional properties such as cover page settings, fax recipient and sender information, and other data that appears only on the cover page. For more information, see Transmitting a Fax to an Active Inbound Call and Sending a Cover Page.
If you are writing a C/C++ application, after you create a connection to an active fax server, call the IFaxServer::CreateDocument method to create a FaxDoc object. Call multiple IFaxDoc interface methods to set required and optional properties of the object. To transmit the file, call the IFaxDoc::Send method. For more information about the steps required to create a FaxDoc object, and for a list of properties and methods, see IFaxDoc.
If you are writing a Visual Basic application, call the Visual Basic CreateObject function to create a FaxServer object. Then call the CreateDocument method of the FaxServer object to create a FaxDoc object. Set required and optional properties of the FaxDoc object. To transmit the file, call the Send method of the FaxDoc object. See FaxDoc object (Visual Basic) for more information about the steps required to create the object, and for a list of properties and methods of the object.
For more information, see Connecting to a Fax Server.