EmailAction.Attachments property

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

For scripting, gets or sets an array of attachments that is sent with the email message.

This property is read/write.

Syntax

EmailAction.Attachments As String

Property value

An array of attachments that is sent with the email message.

Remarks

A maximum of eight attachments can be in the array of attachments.

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