Click or drag to resize
Task Scheduler Managed Class Library

EmailAction Constructor (String, String, String, String, String)

Creates an unbound instance of EmailAction.

Namespace:  Microsoft.Win32.TaskScheduler
Assembly:  Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntax
public EmailAction(
	string subject,
	string from,
	string to,
	string body,
	string mailServer
)
Request Example View Source

Parameters

subject
Type: SystemString
Subject of the e-mail.
from
Type: SystemString
E-mail address that you want to send the e-mail from.
to
Type: SystemString
E-mail address or addresses that you want to send the e-mail to.
body
Type: SystemString
Body of the e-mail that contains the e-mail message.
mailServer
Type: SystemString
Name of the server that you use to send e-mail from.
See Also