Export (0) Print
Expand All
Expand Minimize

Workbook.SendMail Method

Sends the workbook by using the installed mail system.

Namespace:  Microsoft.Office.Tools.Excel
Assemblies:   Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

void SendMail(
	Object Recipients,
	Object Subject,
	Object ReturnReceipt


Type: System.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.

Type: System.Object

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

Type: System.Object

true to request a return receipt. false to not request a return receipt. The default value is false.

Optional Parameters

For information on optional parameters, see Optional Parameters in Office Solutions.

© 2015 Microsoft