<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Smtp on Ajo Mathew</title><link>https://blog.ajomathew.dev/tags/smtp/</link><description>Recent content in Smtp on Ajo Mathew</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><lastBuildDate>Fri, 15 May 2020 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.ajomathew.dev/tags/smtp/rss.xml" rel="self" type="application/rss+xml"/><item><title>SendGrid SMTP using Powershell and REST API</title><link>https://blog.ajomathew.dev/posts/2020-05-15-sendgrid-smtp-using-powershell-andrestapi/</link><pubDate>Fri, 15 May 2020 00:00:00 +0000</pubDate><guid>https://blog.ajomathew.dev/posts/2020-05-15-sendgrid-smtp-using-powershell-andrestapi/</guid><description>&lt;p&gt;Sendgrid stopped accepting &lt;code&gt;account username&lt;/code&gt; and &lt;code&gt;password&lt;/code&gt;. I was using powershell cmdlet send-mailmessage to run some of auditing scripts from VM&amp;rsquo;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 &lt;a href="https://sendgrid.com/docs/API_Reference/SMTP_API/integrating_with_the_smtp_api.html" target="_blank" rel="noopener"&gt;SendGrid Support page&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Let me know if this helps you. You can reach me on &lt;a href="https://twitter.com/ajo_mathew" target="_blank" rel="noopener"&gt;twitter&lt;/a&gt; for any queries.&lt;/p&gt;</description></item></channel></rss>