<?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 sendemail error search 5.0.2 in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/sendemail-error-search-5-0-2/m-p/104095#M2392</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I'm sorry I am french and I dont have a good english but I really need your help. I am trying to send an email but I encounter that error :&lt;/P&gt;

&lt;P&gt;Input is not proper UTF-8, indicate encoding ! Bytes: 0x92 0x61 0x20 0x70, line 233, column 76&lt;/P&gt;

&lt;P&gt;I use release 5.0.2. I searched a long time before posting this but I don't understand what is going on. I tried to edit props.conf, sendemail.py but it still doesn't work. I read this error was fixed by 5.0.X releases so is it a bug from Splunk ? Splunk is running on Windows 2008 R2 64 bits.&lt;BR /&gt;
My search command is : sourcetype="syslog" | sendemail to=&lt;A href="mailto:my_account@domain.fr"&gt;my_account@domain.fr&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Please help me.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Apr 2013 13:19:34 GMT</pubDate>
    <dc:creator>rayke</dc:creator>
    <dc:date>2013-04-23T13:19:34Z</dc:date>
    <item>
      <title>sendemail error search 5.0.2</title>
      <link>https://community.splunk.com/t5/Reporting/sendemail-error-search-5-0-2/m-p/104095#M2392</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I'm sorry I am french and I dont have a good english but I really need your help. I am trying to send an email but I encounter that error :&lt;/P&gt;

&lt;P&gt;Input is not proper UTF-8, indicate encoding ! Bytes: 0x92 0x61 0x20 0x70, line 233, column 76&lt;/P&gt;

&lt;P&gt;I use release 5.0.2. I searched a long time before posting this but I don't understand what is going on. I tried to edit props.conf, sendemail.py but it still doesn't work. I read this error was fixed by 5.0.X releases so is it a bug from Splunk ? Splunk is running on Windows 2008 R2 64 bits.&lt;BR /&gt;
My search command is : sourcetype="syslog" | sendemail to=&lt;A href="mailto:my_account@domain.fr"&gt;my_account@domain.fr&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Please help me.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2013 13:19:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/sendemail-error-search-5-0-2/m-p/104095#M2392</guid>
      <dc:creator>rayke</dc:creator>
      <dc:date>2013-04-23T13:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: sendemail error search 5.0.2</title>
      <link>https://community.splunk.com/t5/Reporting/sendemail-error-search-5-0-2/m-p/104096#M2393</link>
      <description>&lt;P&gt;The Timezone is the default server timezone....&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2013 06:58:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/sendemail-error-search-5-0-2/m-p/104096#M2393</guid>
      <dc:creator>rayke</dc:creator>
      <dc:date>2013-05-06T06:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: sendemail error search 5.0.2</title>
      <link>https://community.splunk.com/t5/Reporting/sendemail-error-search-5-0-2/m-p/104097#M2394</link>
      <description>&lt;P&gt;Maybe your syslog data format is not friendly, try  :&lt;BR /&gt;
&lt;CODE&gt;|stats count | head 1 | eval _raw="test event"  | sendemail to=my_account@domain.fr&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Also you can check if there are any errors in the python logs (the sendemail script is in python)&lt;BR /&gt;
&lt;CODE&gt;index=_internal source=*python.log*&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Last thing, verify that you are using the latest script, not a local copy from an older one.&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2013 15:41:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/sendemail-error-search-5-0-2/m-p/104097#M2394</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2013-05-06T15:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: sendemail error search 5.0.2</title>
      <link>https://community.splunk.com/t5/Reporting/sendemail-error-search-5-0-2/m-p/104098#M2395</link>
      <description>&lt;P&gt;Thanks for your answer but, I did your command (soucetype="syslog" | stats count | head 1 | eval _raw="test event" | sendemail to=&lt;A href="mailto:my_account@domain.fr" target="_blank"&gt;my_account@domain.fr&lt;/A&gt;) and I have the same issue, except a new line (now it's line 255...)&lt;BR /&gt;
When I check python logs I have this : &lt;/P&gt;

&lt;P&gt;2013-05-07 08:25:56,253 ERROR Sending email. subject="Splunk Results", results_link="None", recipients="['&lt;A href="mailto:my_account@domain.fr" target="_blank"&gt;my_account@domain.fr&lt;/A&gt;']"&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:50:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/sendemail-error-search-5-0-2/m-p/104098#M2395</guid>
      <dc:creator>rayke</dc:creator>
      <dc:date>2020-09-28T13:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: sendemail error search 5.0.2</title>
      <link>https://community.splunk.com/t5/Reporting/sendemail-error-search-5-0-2/m-p/104099#M2396</link>
      <description>&lt;P&gt;Hmm, I have an other log looking lie this :&lt;BR /&gt;
2013-05-07 08:46:23,598 DEBUG simpleRequest &amp;gt; GET &lt;A href="https://127.0.0.1:8089/servicesNS/nobody/search/admin/alert_actions/email"&gt;https://127.0.0.1:8089/servicesNS/nobody/search/admin/alert_actions/email&lt;/A&gt; [] sessionSource=direct&lt;BR /&gt;
But, SSL is not activated on my Splunk and why the used port is 8089 ? Shouldn't use port 8000 ? Where can I configure it ?&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2013 07:01:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/sendemail-error-search-5-0-2/m-p/104099#M2396</guid>
      <dc:creator>rayke</dc:creator>
      <dc:date>2013-05-07T07:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: sendemail error search 5.0.2</title>
      <link>https://community.splunk.com/t5/Reporting/sendemail-error-search-5-0-2/m-p/104100#M2397</link>
      <description>&lt;P&gt;Ok, I have new issues. I did that command line :&lt;/P&gt;

&lt;P&gt;| sendemail from=&lt;A href="mailto:my_account@domain.fr" target="_blank"&gt;my_account@domain.fr&lt;/A&gt; to=&lt;A href="mailto:my_account@domain.fr" target="_blank"&gt;my_account@domain.fr&lt;/A&gt; sendresults=true server=mail.domain.fr use_ssl=true username="my_account" user="acc" password="******"&lt;/P&gt;

&lt;P&gt;When I write this commande, there is the same issue. If I don't use any security (ssl or tls) I have an authentication error. And if I use tls, it tells me that it's not suported by my mail server.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:50:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/sendemail-error-search-5-0-2/m-p/104100#M2397</guid>
      <dc:creator>rayke</dc:creator>
      <dc:date>2020-09-28T13:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: sendemail error search 5.0.2</title>
      <link>https://community.splunk.com/t5/Reporting/sendemail-error-search-5-0-2/m-p/104101#M2398</link>
      <description>&lt;P&gt;Ok I found the mistake. I'm in a local network and my Splunk server wasn't allowed to send emails. After that, I only had to check Email alert setting and keep empty Username and Password fields.&lt;BR /&gt;
My command is :&lt;/P&gt;

&lt;P&gt;| sendemail to=&lt;A href="mailto:my_account@domain.fr"&gt;my_account@domain.fr&lt;/A&gt; sendresults=true&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2013 13:50:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/sendemail-error-search-5-0-2/m-p/104101#M2398</guid>
      <dc:creator>rayke</dc:creator>
      <dc:date>2013-05-07T13:50:24Z</dc:date>
    </item>
  </channel>
</rss>

