EmailAction(String, String, String, String, String) Constructor
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public EmailAction(
string subject,
string from,
string to,
string body,
string mailServer
)
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.