<?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: How to configure email alert using gmail smtp? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-to-configure-email-alert-using-gmail-smtp/m-p/54556#M745</link>
    <description>&lt;P&gt;Thanks for answers and tips!&lt;/P&gt;</description>
    <pubDate>Fri, 20 Jan 2012 07:20:59 GMT</pubDate>
    <dc:creator>melonman</dc:creator>
    <dc:date>2012-01-20T07:20:59Z</dc:date>
    <item>
      <title>How to configure email alert using gmail smtp?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-configure-email-alert-using-gmail-smtp/m-p/54553#M742</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;

&lt;P&gt;I was trying to configure email alert to deliver scheduled saved search result.&lt;BR /&gt;
The SMTP server I was trying to use is gmail SMTP.&lt;/P&gt;

&lt;P&gt;The configuration in Email alert settings -&amp;gt; Mail Server Settings is:&lt;/P&gt;

&lt;P&gt;Mail Host -&amp;gt; smtp.gmail.com:465&lt;BR /&gt;
  # Enable SSL checked&lt;/P&gt;

&lt;P&gt;Username -&amp;gt; &lt;MYACCOUNT&gt;@gmai.com&lt;BR /&gt;
Password -&amp;gt; &lt;MYPASSWORD&gt;&lt;BR /&gt;
...&lt;/MYPASSWORD&gt;&lt;/MYACCOUNT&gt;&lt;/P&gt;

&lt;P&gt;Is there any misconfiguration or limitation of SMTP server?&lt;BR /&gt;
Does anyone know how to use gmail SMTP with splunk email alering? &lt;/P&gt;

&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2012 02:49:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-configure-email-alert-using-gmail-smtp/m-p/54553#M742</guid>
      <dc:creator>melonman</dc:creator>
      <dc:date>2012-01-19T02:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure email alert using gmail smtp?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-configure-email-alert-using-gmail-smtp/m-p/54554#M743</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
What works for me is to use port 587 and use TLS in place of SSL.&lt;/P&gt;

&lt;P&gt;If you try to test using the "sendemail" search command then I found that it does not seem to pick up every setting from alert_actions.conf file so I had to specify some of them for it to start working.  This includes the undocumented argument "use_tls" which you can find in the sendemail.py script.&lt;/P&gt;

&lt;P&gt;The following search worked for me and I then used these settings in alert_actions.conf (configured through the UI):&lt;BR /&gt;
    index=_internal | head 1 | sendemail to="&lt;A href="mailto:name@my.email.domain" target="_blank"&gt;name@my.email.domain&lt;/A&gt;" format="html" server=smtp.gmail.com:587 use_tls=1&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 10:19:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-configure-email-alert-using-gmail-smtp/m-p/54554#M743</guid>
      <dc:creator>itinney</dc:creator>
      <dc:date>2020-09-28T10:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure email alert using gmail smtp?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-configure-email-alert-using-gmail-smtp/m-p/54555#M744</link>
      <description>&lt;P&gt;Oh and when you test the Scheduled Alert, don't forget to disable it so you don't get 50 alert emails in your inbox &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2012 10:50:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-configure-email-alert-using-gmail-smtp/m-p/54555#M744</guid>
      <dc:creator>itinney</dc:creator>
      <dc:date>2012-01-19T10:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure email alert using gmail smtp?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-configure-email-alert-using-gmail-smtp/m-p/54556#M745</link>
      <description>&lt;P&gt;Thanks for answers and tips!&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2012 07:20:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-configure-email-alert-using-gmail-smtp/m-p/54556#M745</guid>
      <dc:creator>melonman</dc:creator>
      <dc:date>2012-01-20T07:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure email alert using gmail smtp?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-configure-email-alert-using-gmail-smtp/m-p/54557#M746</link>
      <description>&lt;P&gt;Hi, I'm getting error as "command="sendemail", [Errno 11001] getaddrinfo failed while sending mail to: &lt;A href="mailto:xxxx.xxxx@gmail.com"&gt;xxxx.xxxx@gmail.com&lt;/A&gt;.&lt;BR /&gt;
I'hv faced to same error [Errno 11001] while testing integration with servicenow with the help of servicenow app. I think there is something wrong with my system settings? Can you please help.&lt;/P&gt;

&lt;P&gt;Python log shows below error-&lt;BR /&gt;
2013-10-28 19:06:29,036 DEBUG Preloading from 'C:\Program Files\Splunk\var\run\splunk\merged\web.conf'.&lt;BR /&gt;
2013-10-28 19:06:29,038 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;
2013-10-28 19:06:29,448 DEBUG simpleRequest &amp;lt; server responded status=200 responseTime=0.4110s&lt;BR /&gt;
2013-10-28 19:06:29,457 ERROR Sending email. subject="Splunk Results", results_link="None", recipients="['&lt;A href="mailto:XXXX.XXXXx@gmail.com"&gt;XXXX.XXXXx@gmail.com&lt;/A&gt;']"&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2013 13:46:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-configure-email-alert-using-gmail-smtp/m-p/54557#M746</guid>
      <dc:creator>ashish_test</dc:creator>
      <dc:date>2013-10-28T13:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure email alert using gmail smtp?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-configure-email-alert-using-gmail-smtp/m-p/54558#M747</link>
      <description>&lt;P&gt;&lt;A href="http://blog.splunkstart.com/post/86198646360/splunk-alerts-using-gmail-twitter-phone-calls-and"&gt;Here's a step by step walkthrough of configuring Splunk to work with Gmail SMTP&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2014 10:58:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-configure-email-alert-using-gmail-smtp/m-p/54558#M747</guid>
      <dc:creator>himynamesdave</dc:creator>
      <dc:date>2014-05-30T10:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure email alert using gmail smtp?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-configure-email-alert-using-gmail-smtp/m-p/54559#M748</link>
      <description>&lt;P&gt;@himynamesdave the link you gave has moved to:  &lt;A href="http://blogs.splunk.com/2014/06/27/splunk-alerts-using-gmail-twitter-phone-calls-and-much-more/"&gt;http://blogs.splunk.com/2014/06/27/splunk-alerts-using-gmail-twitter-phone-calls-and-much-more/&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 17:27:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-configure-email-alert-using-gmail-smtp/m-p/54559#M748</guid>
      <dc:creator>sherm77</dc:creator>
      <dc:date>2015-06-23T17:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure email alert using gmail smtp?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-configure-email-alert-using-gmail-smtp/m-p/54560#M749</link>
      <description>&lt;P&gt;@sherm77 kudos coming your way!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 18:08:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-configure-email-alert-using-gmail-smtp/m-p/54560#M749</guid>
      <dc:creator>himynamesdave</dc:creator>
      <dc:date>2015-06-23T18:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure email alert using gmail smtp?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-configure-email-alert-using-gmail-smtp/m-p/54561#M750</link>
      <description>&lt;P&gt;Thanks @himynamesdave for sharing the updated link &lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 05:32:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-configure-email-alert-using-gmail-smtp/m-p/54561#M750</guid>
      <dc:creator>saurabh_tek</dc:creator>
      <dc:date>2016-09-29T05:32:52Z</dc:date>
    </item>
  </channel>
</rss>

