_Document.SendFaxOverInternet(Object, Object, Object) 方法

定义

将文档发送给传真服务提供商,该提供商将文档传真给一个或多个指定的收件人。Sends a document to a fax service provider, who faxes the document to one or more specified recipients.

public void SendFaxOverInternet (ref object Recipients, ref object Subject, ref object ShowMessage);
abstract member SendFaxOverInternet : obj * obj * obj -> unit
Public Sub SendFaxOverInternet (Optional ByRef Recipients As Object, Optional ByRef Subject As Object, Optional ByRef ShowMessage As Object)

参数

Recipients
Object

可选对象Optional Object. 一个 字符串 ,表示传真号码和电子邮件地址的收件人发送传真。A String that represents the fax numbers and e-mail addresses of the people to whom to send the fax. 用分号分隔多个收件人。Separate multiple recipients with a semicolon.

Subject
Object

可选对象Optional Object. 一个 字符串 ,表示传真文档的主题行。A String that represents the subject line for the faxed document.

ShowMessage
Object

可选对象Optional Object. 传真邮件发送传真之前显示。True displays the fax message before sending it. False ,则发送传真而不显示传真邮件。False sends the fax without displaying the fax message.

注解

使用 SendFaxOverInternet 方法需要在用户的计算机上启用了传真服务。如果未启用传真服务, SendFaxOverInternet 方法将导致运行时错误。Using the SendFaxOverInternet method requires that a fax service is enabled on a user's computer. If a fax service is not enabled, the SendFaxOverInternet method will cause a runtime error.

用于指定参数中的传真号码的格式 Recipients 可以是 recipientsfaxnumber@usersfaxproviderrecipientsname@recipientsfaxnumberThe format used for specifying fax numbers in the Recipients parameter is either recipientsfaxnumber@usersfaxprovider or recipientsname@recipientsfaxnumber. 可通过使用以下注册表路径访问用户的传真提供商信息:You can access the user's fax provider information using the following registry path:

HKEY_CURRENT_USER \Software\Microsoft\Office\11.0\Common\Services\FaxHKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Common\Services\Fax

使用此注册表位置的 FaxAddress 键值可确定用于某个用户的格式。如果此注册表项不存在,则没有可用的传真服务。Use the FaxAddress key value at this registry location to determine the format to use for a user. If this registry entry does not exist, no fax service is available.

适用于