Skip to content

Latest commit

 

History

History
72 lines (46 loc) · 2.41 KB

emailaction-body.md

File metadata and controls

72 lines (46 loc) · 2.41 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
EmailAction.Body property
For scripting, gets or sets the body of the email that contains the email message.
0015c2b9-9278-407b-b3cf-492f2d95bcb6
Body property Task Scheduler
Body property Task Scheduler , EmailAction object
EmailAction object Task Scheduler , Body property
apiref
EmailAction.Body
taskschd.dll
COM
reference
05/31/2018

EmailAction.Body property

[This object is no longer supported. Please use IExecAction with the powershell Send-MailMessage cmdlet as a workaround.]

For scripting, gets or sets the body of the email that contains the email message.

This property is read/write.

Syntax

EmailAction.Body As String

Property value

The body of the email that contains the email message.

Remarks

When setting this property value, the value can be text that is retrieved from a resource .dll file. A specialized string is used to reference the text from the resource file. The format of the string is $(@ [Dll], [ResourceID]) where [Dll] is the path to the .dll file that contains the resource and [ResourceID] is the identifier for the resource text. For example, the setting this property value to $(@ %SystemRoot%\System32\ResourceName.dll, -101) will set the property to the value of the resource text with an identifier equal to -101 in the %SystemRoot%\System32\ResourceName.dll file.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
End of client support
Windows 7
End of server support
Windows Server 2008 R2
Type library
Taskschd.tlb
DLL
Taskschd.dll

See also

EmailAction

Task Scheduler