IEmailAction::get_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 get_To(
  BSTR *pTo
);

Parameters

pTo

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