IEmailAction::put_To 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 email address or addresses that you want to send the email to.

This property is read/write.

Syntax

HRESULT put_To(
  BSTR to
);

Parameters

to

Return value

None

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