Compartir a través de


Sending a Fax to One Recipient (COM Implementation)

The IFaxDoc::FileName Property is required to send a fax transmission if you are using the fax client Component Object Model (COM) implementation. The IFaxDoc::FaxNumber Property is also required. 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 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 Microsoft 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) for more information about the steps required to create the object, and for a list of properties and methods of the object.

Connecting to a Fax Server