<?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 Unable to use sendemail in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Unable-to-use-sendemail/m-p/145389#M3207</link>
    <description>&lt;P&gt;Hi all, &lt;/P&gt;

&lt;P&gt;I need to trigger a email whenever am opening a internet explorer.So i have tried with sendemail but failed to achieve that and details below on erros;&lt;/P&gt;

&lt;P&gt;reg host="D-24964" Microsoft  "&lt;EM&gt;expl&lt;/EM&gt;.exe" | sendemail to="&lt;A href="mailto:balaji.s@nln.com"&gt;balaji.s@nln.com&lt;/A&gt;" server=chp-outlook.nln.com="" use_ssl=true username="&lt;A href="mailto:balaji.s@nln.com"&gt;balaji.s@nln.com&lt;/A&gt;="" user="" name=""" password="&lt;A href="mailto:balaji.s@nln.com"&gt;balaji.s@nln.com&lt;/A&gt;="" password=""" sendresults=true&lt;/P&gt;

&lt;P&gt;when am running above sendemail query, am getting the error &lt;STRONG&gt;"command="sendemail", [Errno 11004] getaddrinfo failed while sending mail to: &lt;A href="mailto:balaji.s@nln.com"&gt;balaji.s@nln.com&lt;/A&gt;&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;also if am trying run another simple query like below ;&lt;BR /&gt;
reg host="D-24964" Microsoft  "&lt;EM&gt;expl&lt;/EM&gt;.exe" | sendemail to="&lt;A href="mailto:balaji.s@nln.com"&gt;balaji.s@nln.com&lt;/A&gt;" server=chp-outlook.nln.com sendresults=true&lt;/P&gt;

&lt;P&gt;Then geting the below error;&lt;BR /&gt;
&lt;STRONG&gt;command="sendemail", [Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond while sending mail to: &lt;A href="mailto:balaji.s@nln.com"&gt;balaji.s@nln.com&lt;/A&gt;&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;Also i have tried with enable or disble of ssl/tsl in IE settings.Still its not working.&lt;/P&gt;

&lt;P&gt;Please help.&lt;/P&gt;

&lt;P&gt;Balaji&lt;/P&gt;</description>
    <pubDate>Tue, 11 Feb 2014 07:32:33 GMT</pubDate>
    <dc:creator>balajsoz</dc:creator>
    <dc:date>2014-02-11T07:32:33Z</dc:date>
    <item>
      <title>Unable to use sendemail</title>
      <link>https://community.splunk.com/t5/Reporting/Unable-to-use-sendemail/m-p/145389#M3207</link>
      <description>&lt;P&gt;Hi all, &lt;/P&gt;

&lt;P&gt;I need to trigger a email whenever am opening a internet explorer.So i have tried with sendemail but failed to achieve that and details below on erros;&lt;/P&gt;

&lt;P&gt;reg host="D-24964" Microsoft  "&lt;EM&gt;expl&lt;/EM&gt;.exe" | sendemail to="&lt;A href="mailto:balaji.s@nln.com"&gt;balaji.s@nln.com&lt;/A&gt;" server=chp-outlook.nln.com="" use_ssl=true username="&lt;A href="mailto:balaji.s@nln.com"&gt;balaji.s@nln.com&lt;/A&gt;="" user="" name=""" password="&lt;A href="mailto:balaji.s@nln.com"&gt;balaji.s@nln.com&lt;/A&gt;="" password=""" sendresults=true&lt;/P&gt;

&lt;P&gt;when am running above sendemail query, am getting the error &lt;STRONG&gt;"command="sendemail", [Errno 11004] getaddrinfo failed while sending mail to: &lt;A href="mailto:balaji.s@nln.com"&gt;balaji.s@nln.com&lt;/A&gt;&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;also if am trying run another simple query like below ;&lt;BR /&gt;
reg host="D-24964" Microsoft  "&lt;EM&gt;expl&lt;/EM&gt;.exe" | sendemail to="&lt;A href="mailto:balaji.s@nln.com"&gt;balaji.s@nln.com&lt;/A&gt;" server=chp-outlook.nln.com sendresults=true&lt;/P&gt;

&lt;P&gt;Then geting the below error;&lt;BR /&gt;
&lt;STRONG&gt;command="sendemail", [Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond while sending mail to: &lt;A href="mailto:balaji.s@nln.com"&gt;balaji.s@nln.com&lt;/A&gt;&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;Also i have tried with enable or disble of ssl/tsl in IE settings.Still its not working.&lt;/P&gt;

&lt;P&gt;Please help.&lt;/P&gt;

&lt;P&gt;Balaji&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2014 07:32:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Unable-to-use-sendemail/m-p/145389#M3207</guid>
      <dc:creator>balajsoz</dc:creator>
      <dc:date>2014-02-11T07:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use sendemail</title>
      <link>https://community.splunk.com/t5/Reporting/Unable-to-use-sendemail/m-p/145390#M3208</link>
      <description>&lt;P&gt;Hi balajsoz,&lt;/P&gt;

&lt;P&gt;The first error is because the sendemail.py script cannot &lt;CODE&gt;getaddinfo&lt;/CODE&gt; for &lt;CODE&gt;server=chp-outlook.nln.com=""&lt;/CODE&gt;, see &lt;A href="http://stackoverflow.com/questions/5022945/urllib2-urlerror-urlopen-error-errno-11004-getaddrinfo-failed"&gt;this&lt;/A&gt; for more info. &lt;/P&gt;

&lt;P&gt;The second error is because your mail server &lt;CODE&gt;chp-outlook.nln.com&lt;/CODE&gt; probably does not accept your request to send an email, see &lt;A href="http://stackoverflow.com/questions/14143198/errno-10060-a-connection-attempt-failed-because-the-connected-party-did-not-pro"&gt;this&lt;/A&gt; for more info.&lt;/P&gt;

&lt;P&gt;Both errors are not Splunk errors &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;cheers, MuS &lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2014 07:43:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Unable-to-use-sendemail/m-p/145390#M3208</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-02-11T07:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use sendemail</title>
      <link>https://community.splunk.com/t5/Reporting/Unable-to-use-sendemail/m-p/145391#M3209</link>
      <description>&lt;P&gt;I have tried below search query to send mail to my gmail id, after came out of firewall boundry;&lt;/P&gt;

&lt;P&gt;&amp;lt;&lt;REG host="D-24964" microsoft="" pid="4732"&gt;&amp;gt;&amp;gt;&lt;/REG&gt;&lt;/P&gt;

&lt;P&gt;and am getting the error--&amp;gt;. "command="sendemail", (530, '5.7.0 Must issue a STARTTLS command first. u1sm53537353ige.1 - gsmtp', 'splunk@D-24964') while sending mail to: &lt;A href="mailto:balain@gmail.com"&gt;balain@gmail.com&lt;/A&gt; "&lt;/P&gt;

&lt;P&gt;Please suggest to fix this.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2014 12:42:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Unable-to-use-sendemail/m-p/145391#M3209</guid>
      <dc:creator>balajsoz</dc:creator>
      <dc:date>2014-02-11T12:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use sendemail</title>
      <link>https://community.splunk.com/t5/Reporting/Unable-to-use-sendemail/m-p/145392#M3210</link>
      <description>&lt;P&gt;This is the reply the gmail server gave you, so read the message and you will find &lt;CODE&gt;Must issue a STARTTLS command first.&lt;/CODE&gt; Have you tried it with the start_ssl option?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2014 10:12:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Unable-to-use-sendemail/m-p/145392#M3210</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-02-12T10:12:13Z</dc:date>
    </item>
  </channel>
</rss>

