<?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 Re: Send a mail using sendemail command from search? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Send-a-mail-using-sendemail-command-from-search/m-p/544753#M37366</link>
    <description>&lt;P&gt;Update:&lt;BR /&gt;&lt;BR /&gt;"sendemail" does not work for default users with default user-role capability.&lt;/P&gt;&lt;P&gt;The issue was reported back to me to be solved in 8.1.3,&amp;nbsp; unfortunately it is not.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Mar 2021 11:20:29 GMT</pubDate>
    <dc:creator>apietersen</dc:creator>
    <dc:date>2021-03-22T11:20:29Z</dc:date>
    <item>
      <title>Send a mail using sendemail command from search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Send-a-mail-using-sendemail-command-from-search/m-p/416694#M27393</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;Need your help to resolve below issue. &lt;BR /&gt;
Using below query, adding a button to Dashboard. &lt;BR /&gt;
By clicking that button, sending the information of line to user.&lt;BR /&gt;
Instead of using personal mail id, i will use official mail id is one of the change in below mentioned query.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Getting Following Error:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;command="sendemail", 'rootCAPath' while sending mail to: &lt;A href="mailto:shankarananth@gmail.com"&gt;shankarananth@gmail.com&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal  sendemail to="shankarananth@gmail.com" format=raw subject=myresults server=mail.splunk.com sendresults=true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks in advance ..&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 06:48:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Send-a-mail-using-sendemail-command-from-search/m-p/416694#M27393</guid>
      <dc:creator>Shan</dc:creator>
      <dc:date>2019-01-22T06:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Send a mail using sendemail command from search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Send-a-mail-using-sendemail-command-from-search/m-p/416695#M27394</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;You need to send result from &lt;CODE&gt;index=_internal&lt;/CODE&gt; to sendmail command and for that you need to use pipe &lt;CODE&gt;|&lt;/CODE&gt;, additionally please use correct mail server, in your query you have given &lt;CODE&gt;mail.splunk.com&lt;/CODE&gt; but do you have access to send email using&lt;CODE&gt;mail.splunk.com&lt;/CODE&gt; ? You need to use your company email server instead of &lt;CODE&gt;mail.splunk.com&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Please try below query&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal | sendemail to="shankarananth@gmail.com" format=raw subject=myresults server=mail.splunk.com sendresults=true
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 22 Jan 2019 08:52:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Send-a-mail-using-sendemail-command-from-search/m-p/416695#M27394</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2019-01-22T08:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Send a mail using sendemail command from search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Send-a-mail-using-sendemail-command-from-search/m-p/416696#M27395</link>
      <description>&lt;P&gt;@harsmarvania57 ,&lt;/P&gt;

&lt;P&gt;First of all thank for the reply.&lt;/P&gt;

&lt;P&gt;By mistake i left the | pipe in between index=_internal and sendemail while posting the query.&lt;BR /&gt;
It's not working. As you said i will check for company mail server and give a try.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
 Shankar&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 09:32:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Send-a-mail-using-sendemail-command-from-search/m-p/416696#M27395</guid>
      <dc:creator>Shan</dc:creator>
      <dc:date>2019-01-22T09:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Send a mail using sendemail command from search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Send-a-mail-using-sendemail-command-from-search/m-p/416697#M27396</link>
      <description>&lt;P&gt;Well just a note, in Order to use your company server name you would need to whitelist splunk server IP in your company's mail server.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 09:48:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Send-a-mail-using-sendemail-command-from-search/m-p/416697#M27396</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2019-01-22T09:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Send a mail using sendemail command from search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Send-a-mail-using-sendemail-command-from-search/m-p/416698#M27397</link>
      <description>&lt;P&gt;Are you saying that with some other email address it works, but with this email, it does not?  In other words, does &lt;CODE&gt;sendemail&lt;/CODE&gt; ever work for you?  If not, check the error logs with this search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_* sendemail AND (fail* OR err* OR timeout OR cannot OR incomplete OR invalid OR unknown OR reject* OR deni* OR deny)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 22 Jan 2019 15:47:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Send-a-mail-using-sendemail-command-from-search/m-p/416698#M27397</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-01-22T15:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Send a mail using sendemail command from search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Send-a-mail-using-sendemail-command-from-search/m-p/540857#M37066</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Since some version (now using 8.1.2) I have trouble to use the 'sendemail' command in a search (dashboard/form) for users that have the standard user-roles. This issue is troubling me for almost&amp;nbsp; 1.5 year now.&amp;nbsp;&amp;nbsp;Of course I am aware of the need to select 'list_settings' but had never has any results. When selecting&amp;nbsp;'admin_all_objects' in the standard user-role it is successful.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But using the 'admin_all_objects' for standard user is nothing but a security breach. That can not be the solution , so what do I miss here?&lt;/P&gt;&lt;P&gt;An why does Splunk not create a separate and straightforward capability for this 'sendemail' command?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ashley Pietersen&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 15:49:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Send-a-mail-using-sendemail-command-from-search/m-p/540857#M37066</guid>
      <dc:creator>apietersen</dc:creator>
      <dc:date>2021-02-22T15:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Send a mail using sendemail command from search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Send-a-mail-using-sendemail-command-from-search/m-p/544753#M37366</link>
      <description>&lt;P&gt;Update:&lt;BR /&gt;&lt;BR /&gt;"sendemail" does not work for default users with default user-role capability.&lt;/P&gt;&lt;P&gt;The issue was reported back to me to be solved in 8.1.3,&amp;nbsp; unfortunately it is not.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 11:20:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Send-a-mail-using-sendemail-command-from-search/m-p/544753#M37366</guid>
      <dc:creator>apietersen</dc:creator>
      <dc:date>2021-03-22T11:20:29Z</dc:date>
    </item>
  </channel>
</rss>

