A mail should be send to a couple of users within a powerJobs script file


Powershell already has a commandlet to send mails. The attached sample job demonstrates how to use it to send a mail to a list of users. The script is pretty straight forward and most of the work is collecting the information you want to send. You have to make sure your SMTP server is configured properly. If it isn't you won't get an error in most cases so you'll have to check the server logs if the script is not working.



Simple Mail Transfer Protocol(Wikipedia)