 | EmailAction Constructor (String, String, String, String, String) |
Namespace:
Microsoft.Win32.TaskScheduler
Assembly:
Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntaxpublic EmailAction(
string subject,
string from,
string to,
string body,
string mailServer
)
Public Sub New (
subject As String,
from As String,
to As String,
body As String,
mailServer As String
)
public:
EmailAction(
String^ subject,
String^ from,
String^ to,
String^ body,
String^ mailServer
)
Request Example
View SourceParameters
- 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