IEmailAction::Attachments property

[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 put_Attachments(
  [in]   SAFEARRAY(VARIANT) pAttachments
);

HRESULT get_Attachments(
  [out]  SAFEARRAY(VARIANT) *pAttachments
);

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

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

Header

Taskschd.h

Library

Taskschd.lib

DLL

Taskschd.dll

See also

IEmailAction

 

 

Community Additions

ADD
Show:
© 2015 Microsoft