Запустить службу SMTP

Microsoft.Windows.InternetInformationServices.10.0.LegacySMTPServer.StartSMTPServerService.Task (Task)

Эта задача запускает службу SMTP-сервера Windows IIS (SMTPSVC), если в настоящий момент она остановлена. Не поддерживается в Nano.

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.10.0.LegacySMTPServer
AccessibilityPublic
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
WA WriteAction Microsoft.Windows.InternetInformationServices.10.0.ControlService Default

Source Code:

<Task ID="Microsoft.Windows.InternetInformationServices.10.0.LegacySMTPServer.StartSMTPServerService.Task" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.10.0.LegacySMTPServer" Timeout="300" Remotable="false">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="Microsoft.Windows.InternetInformationServices.10.0.ControlService">
<Operation>start SMTPSVC</Operation>
<TimeoutSeconds>60</TimeoutSeconds>
</WriteAction>
</Task>