<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How do I run a custom email from Splunk shell? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/How-do-I-run-a-custom-email-from-Splunk-shell/m-p/377109#M6199</link>
    <description>&lt;P&gt;Hello, &lt;/P&gt;

&lt;P&gt;I've built a custom email Python script to send as an alert in order to be able to add some CSS to my email. &lt;/P&gt;

&lt;P&gt;I ran it using SMTP and it worked well once i entered the Windows CLI on my server and ran it from there. &lt;/P&gt;

&lt;P&gt;However i tried to run it through Splunk custom command and experienced failure so i went to the Splunk shell CLI &lt;BR /&gt;
on my server and tried to run it from there. From there, i got the following error: "SMTPServerDisconnected: Connection unexpectedly closed."&lt;/P&gt;

&lt;P&gt;I need your help to figure out why this is happening since i've already been able to send normal emails from my Splunk.&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Tue, 18 Sep 2018 15:03:11 GMT</pubDate>
    <dc:creator>t5as</dc:creator>
    <dc:date>2018-09-18T15:03:11Z</dc:date>
    <item>
      <title>How do I run a custom email from Splunk shell?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-do-I-run-a-custom-email-from-Splunk-shell/m-p/377109#M6199</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;

&lt;P&gt;I've built a custom email Python script to send as an alert in order to be able to add some CSS to my email. &lt;/P&gt;

&lt;P&gt;I ran it using SMTP and it worked well once i entered the Windows CLI on my server and ran it from there. &lt;/P&gt;

&lt;P&gt;However i tried to run it through Splunk custom command and experienced failure so i went to the Splunk shell CLI &lt;BR /&gt;
on my server and tried to run it from there. From there, i got the following error: "SMTPServerDisconnected: Connection unexpectedly closed."&lt;/P&gt;

&lt;P&gt;I need your help to figure out why this is happening since i've already been able to send normal emails from my Splunk.&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 15:03:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-do-I-run-a-custom-email-from-Splunk-shell/m-p/377109#M6199</guid>
      <dc:creator>t5as</dc:creator>
      <dc:date>2018-09-18T15:03:11Z</dc:date>
    </item>
  </channel>
</rss>

