I seem to be running in circles..
I tried Install-Package -Name 'MailKit' -Source 'nuget.org'
but it was unable to find package source nuget.org
I tried a local installation from a download, which just kept asking for dependant packages, such as System.Buffers, then Portable.BouncyCastle which installed but then followed System.Security.Cryptography.Pkcs, which ended stating "Dependency loop detected for package"
Is anyone able to offer a route to installing MailKit for use with Powershell, or offer an alternative for sending e mail from Powershell?
I only need send an occasional notification mail (1 per day??) from a script, but SendMail keeps issuing warnings it should not be used and is obsolete.