script fails to run SFC scan and fails to send email
see output below ( I confirmed sfc /scannow command runs correctly when executed in elevated command prompt on computer script was run on. )
------
Windows Resource Protection could not start the repair service.
(554, '5.2.0 STOREDRV.Submission.Exception:InvalidRecipientsExc eption; Failed to process message due to a permanent exception with message Recipient "a" isn\'t resolved. All recipients must be resolved before a message can be submitted. InvalidRecipientsException: Recipient "a" isn\'t resolved. All recipients must be resolved before a message can be submitted. [Hostname=SN6PR0102MB3503.prod.exchangelabs.com]')
-----------------------
Alternate smtp server is acceptable if Comodo SMTP API is a security concern.
Can you edit script to add parameters fields for smtp server name, server port, authentication required (yes/no), encryption type.
Is there anyway to encrypt smtp password once it has been entered into parameters.
see output below ( I confirmed sfc /scannow command runs correctly when executed in elevated command prompt on computer script was run on. )
------
Windows Resource Protection could not start the repair service.
(554, '5.2.0 STOREDRV.Submission.Exception:InvalidRecipientsExc eption; Failed to process message due to a permanent exception with message Recipient "a" isn\'t resolved. All recipients must be resolved before a message can be submitted. InvalidRecipientsException: Recipient "a" isn\'t resolved. All recipients must be resolved before a message can be submitted. [Hostname=SN6PR0102MB3503.prod.exchangelabs.com]')
-----------------------
Alternate smtp server is acceptable if Comodo SMTP API is a security concern.
Can you edit script to add parameters fields for smtp server name, server port, authentication required (yes/no), encryption type.
Is there anyway to encrypt smtp password once it has been entered into parameters.
Comment