_Workbook.SendMail(Object, Object, Object) Method

Definition

Sends the workbook by using the installed mail system.

public void SendMail (object Recipients, object Subject, object ReturnReceipt);
Public Sub SendMail (Recipients As Object, Optional Subject As Object, Optional ReturnReceipt As Object)

Parameters

Recipients
Object

Required Object. Specifies the name of the recipient as text, or as an array of text strings if there are multiple recipients. At least one recipient must be specified, and all recipients are added as To recipients.

Subject
Object

Optional Object. Specifies the subject of the message. If this argument is omitted, the document name is used.

ReturnReceipt
Object

Optional Object. True to request a return receipt. False not to request a return receipt. The default value is False.

Applies to