Send An Email From Powershell !
PEOPLE GETTING AUTHENTICATION ERRORS WITH GMAIL:
Google has changed a security setting that blocks “less secure” means of authentication by default. In order for this script to work you’ll need to disable this option in your security settings.
Go to https://myaccount.google.com/security and scroll all the way to the bottom. There’s a little toggle button for “Allow less secure apps”. If you turn the toggle to ON it’ll probably work.
GET THE CODE:
https://github.com/MrPowerScripts/PowerScripts/blob/master/Cmdlets/SendMailMessage.ps1 MrPowerScripts channel hopes to help you learn more about programming and automation.
Learning to automate reptitive tasks is more effeicient and frees up time to do the things you actually enjoy.
I also cover helpful tools and concepts such as git, API, flask, various modules and even helpful code from other programmers.
I hope you can learn something from these videos as creating them has helped me learn a lot.