How to create email alerts for task scheduler job fails.(send email option is deprecated)

man 0 Reputation points
2023-10-26T09:49:22.6266667+00:00

How to create email alerts for task scheduler job fails.(send email option is deprecated)

Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-12-28T05:59:52.3+00:00

    Hi,

    You may consider sending emails with the PowerShell cmdlet Send-MailMessage. Please refer to this link for more details.

    https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/send-mailmessage

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.