Iniciar o serviço SMTP
Microsoft.Windows.InternetInformationServices.10.0.LegacySMTPServer.StartSMTPServerService.Task (Task)
Essa tarefa inicia o serviço do servidor SMTP do IIS do Windows (SMTPSVC) quando ele estiver parado. Sem suporte no 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>