In this video I go over how to send mail in PowerShell using MailKit as a alternative to Send-MailMessage. Send-MailMessage is obsolete and is being advised against by Microsoft here is a alternative method using MailKit
Install commands (must run as administrator in this order):
Install-Package -Name 'MimeKit' -Source "https://www.nuget.org/api/v2" -SkipDependencies
Install-Package -Name 'MailKit' -Source "https://www.nuget.org/api/v2"
Tags:
PowerShell
Email
MailKit
Programming
Scripting
Automating
JackedProgrammer
Coding
On this page of the site you can watch the video online PowerShell Tutorials : Send an email using MailKit with a duration of hours minute second in good quality, which was uploaded by the user JackedProgrammer 10 February 2022, share the link with friends and acquaintances, this video has already been watched 10,859 times on youtube and it was liked by 146 viewers. Enjoy your viewing!