Click or drag to resize
Task Scheduler Managed Class Library

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

Creates an unbound instance of EmailAction.

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

Parameters

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