SendGrid SMTP using Powershell and REST API
15 May 2020 Written by Ajo MathewSendgrid stopped accepting account username
and password
. I was using powershell cmdlet send-mailmessage to run some of auditing scripts from VM’s and it all broken due to this. Final solution with out much modification our script is done by setting username as apikey and password as APIKEYVALUE. Details of the same is available with SendGrid Support page
Let me know if this helps you. You can reach me on twitter for any queries.