Запустить службу SMTP
Microsoft.Windows.InternetInformationServices.10.0.LegacySMTPServer.StartSMTPServerService.Task (Task)
Эта задача запускает службу SMTP-сервера Windows IIS (SMTPSVC), если в настоящий момент она остановлена. Не поддерживается в Nano.
Element properties:
Member Modules:
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>