IEmailAction::get_Attachments method (taskschd.h)

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

Gets or sets the pointer to an array of attachments that is sent with the email message.

This property is read/write.

Syntax

HRESULT get_Attachments(
  SAFEARRAY **pAttachements
);

Parameters

pAttachements

Return value

None

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]
Target Platform Windows
Header taskschd.h
Library Taskschd.lib
DLL Taskschd.dll

See also

IEmailAction