<?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: Why am I not receiving email notifications after setting up an alert? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Why-am-I-not-receiving-email-notifications-after-setting-up-an/m-p/114789#M1705</link>
    <description>&lt;P&gt;Had the same problem on Splunk 6.3.2, after re-save the problem was solved.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jan 2016 13:35:25 GMT</pubDate>
    <dc:creator>BBakkenes</dc:creator>
    <dc:date>2016-01-15T13:35:25Z</dc:date>
    <item>
      <title>Why am I not receiving email notifications after setting up an alert?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-am-I-not-receiving-email-notifications-after-setting-up-an/m-p/114783#M1699</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;We can't see alert notification via email by using "save as Alert" on the search that we want to trace.&lt;/P&gt;

&lt;P&gt;i configured Settings &amp;gt; Server settings &amp;gt; Email Settings. i entered all inputs required. For example; Mail host link and port, User name, password.... But i still don't receive an email notification.&lt;/P&gt;

&lt;P&gt;When i use sendemail, i get results emailed, but when I use a schedule for a triggered alert, I don't get an email notification.&lt;/P&gt;

&lt;P&gt;How can i solve this issue ?&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2015 07:36:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-am-I-not-receiving-email-notifications-after-setting-up-an/m-p/114783#M1699</guid>
      <dc:creator>alican</dc:creator>
      <dc:date>2015-05-20T07:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I not receiving email notifications after setting up an alert?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-am-I-not-receiving-email-notifications-after-setting-up-an/m-p/114784#M1700</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;

&lt;P&gt;We couldn't solve that case unfortunatly.&lt;BR /&gt;
Also we can receive email information by using sendmail search but we can't receive email by using scheduler "save as Alert" and such.&lt;/P&gt;

&lt;P&gt;This is important for us. If you can take a look in to this asap, it would be very nice&lt;/P&gt;

&lt;P&gt;thank you very much&lt;/P&gt;

&lt;P&gt;ERRORS LOGS&lt;/P&gt;

&lt;P&gt;splunkd file&lt;/P&gt;

&lt;P&gt;ERROR ScriptRunner - stderr from '/home/ubuntu/splunk/bin/python /home/ubuntu/splunk/etc/apps/search/bin/sendemail.py "results_link=&lt;A href="http://splunk.XXX.com:8000/app/search/@go?sid=scheduler__admin__search__RMD5131a0bf9ef43f8b3_at_1432731300_269" target="_blank"&gt;http://splunk.XXX.com:8000/app/search/@go?sid=scheduler__admin__search__RMD5131a0bf9ef43f8b3_at_1432731300_269&lt;/A&gt;" "ssname=500 ALERT 2" "graceful=True" "trigger_time=1432731301" results_file="/home/ubuntu/splunk/var/run/splunk/dispatch/scheduler_&lt;EM&gt;admin&lt;/EM&gt;&lt;EM&gt;search&lt;/EM&gt;&lt;EM&gt;RMD5131a0bf9ef43f8b3_at_1432731300_269/results.csv.gz"':  ERROR:root:object of type 'NoneType' has no len() while sending mail to: &lt;A href="mailto:alican.uzunhan@XXX.com" target="_blank"&gt;alican.uzunhan@XXX.com&lt;/A&gt;&lt;BR /&gt;
[16:53:21]: 2015-05-27 16:00:13,399 +0300 ERROR     sendemail:351 - object of type 'NoneType' has no len() while sending mail to: &lt;A href="mailto:alican.uzunhan@XXX.com" target="_blank"&gt;alican.uzunhan@XXX.com&lt;/A&gt;&lt;BR /&gt;
2015-05-27 16:00:14,443 +0300 ERROR     sendemail:115 - Sending email. subject="Splunk Alert: XXX_Top_IP_Alert", results_link="&lt;A href="http://splunk.XXX.com:8000/app/search/search?q=%7Cloadjob%20scheduler" target="_blank"&gt;http://splunk.XXX.com:8000/app/search/search?q=%7Cloadjob%20scheduler&lt;/A&gt;&lt;/EM&gt;&lt;EM&gt;admin&lt;/EM&gt;&lt;EM&gt;search&lt;/EM&gt;&lt;EM&gt;RMD503b2a30f8d178922_at_1432731600_280%20%7C%20head%202%20%7C%20tail%201&amp;amp;earliest=0&amp;amp;latest=now", recipients="[u'&lt;A href="mailto:alican.uzunhan@XXX.com" target="_blank"&gt;alican.uzunhan@XXX.com&lt;/A&gt;']", server="XXX-smtp.com:587"&lt;BR /&gt;
2015-05-27 16:00:14,443 +0300 ERROR     sendemail:351 - object of type 'NoneType' has no len() while sending mail to: &lt;A href="mailto:alican.uzunhan@XXX.com" target="_blank"&gt;alican.uzunhan@XXX.com&lt;/A&gt;&lt;BR /&gt;
2015-05-27 16:40:07,279 +0300 ERROR     sendemail:115 - Sending email. subject="Splunk Alert: 500 ALERT 2", results_link="&lt;A href="http://splunk.XXX.com:8000/app/search/@go?sid=scheduler" target="_blank"&gt;http://splunk.XXX.com:8000/app/search/@go?sid=scheduler&lt;/A&gt;&lt;/EM&gt;&lt;EM&gt;admin&lt;/EM&gt;&lt;EM&gt;search&lt;/EM&gt;_RMD5131a0bf9ef43f8b3_at_1432734000_360", recipients="[u'&lt;A href="mailto:alican.uzunhan@XXX.com" target="_blank"&gt;alican.uzunhan@XXX.com&lt;/A&gt;']", server="XXX-smtp.com:587"&lt;BR /&gt;
2015-05-27 16:40:07,279 +0300 ERROR     sendemail:351 - object of type 'NoneType' has no len() while sending mail to: &lt;A href="mailto:alican.uzunhan@XXX.com" target="_blank"&gt;alican.uzunhan@XXX.com&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;phyton file&lt;/P&gt;

&lt;P&gt;[16:58:28] 05-27-2015 14:20:07.420 +0300 ERROR ScriptRunner - stderr from '/home/ubuntu/splunk/bin/python /home/ubuntu/splunk/etc/apps/search/bin/sendemail.py "results_link=&lt;A href="http://splunk.XXX.com:8000/app/search/@go?sid=scheduler__admin__search__RMD5131a0bf9ef43f8b3_at_1432725600_92" target="_blank"&gt;http://splunk.XXX.com:8000/app/search/@go?sid=scheduler__admin__search__RMD5131a0bf9ef43f8b3_at_1432725600_92&lt;/A&gt;" "ssname=500 ALERT 2" "graceful=True" "trigger_time=1432725606" results_file="/home/ubuntu/splunk/var/run/splunk/dispatch/scheduler_&lt;EM&gt;admin&lt;/EM&gt;&lt;EM&gt;search&lt;/EM&gt;&lt;EM&gt;RMD5131a0bf9ef43f8b3_at_1432725600_92/results.csv.gz"':  ERROR:root:object of type 'NoneType' has no len() while sending mail to: &lt;A href="mailto:alican.uzunhan@XXX.com" target="_blank"&gt;alican.uzunhan@XXX.com&lt;/A&gt;&lt;BR /&gt;
05-27-2015 15:00:13.528 +0300 ERROR ScriptRunner - stderr from '/home/ubuntu/splunk/bin/python /home/ubuntu/splunk/etc/apps/search/bin/sendemail.py "results_link=&lt;A href="http://splunk.XXX.com:8000/app/search/search?q=%7Cloadjob%20scheduler" target="_blank"&gt;http://splunk.XXX.com:8000/app/search/search?q=%7Cloadjob%20scheduler&lt;/A&gt;&lt;/EM&gt;&lt;EM&gt;admin&lt;/EM&gt;&lt;EM&gt;search&lt;/EM&gt;&lt;EM&gt;RMD503b2a30f8d178922_at_1432728000_163%20%7C%20head%201%20%7C%20tail%201&amp;amp;earliest=0&amp;amp;latest=now" "ssname=XXX_Top_IP_Alert" "graceful=True" "trigger_time=1432728012" results_file="/home/ubuntu/splunk/var/run/splunk/dispatch/scheduler&lt;/EM&gt;&lt;EM&gt;admin&lt;/EM&gt;&lt;EM&gt;search&lt;/EM&gt;&lt;EM&gt;RMD503b2a30f8d178922_at_1432728000_163/per_result_alert/tmp_0.csv.gz"':  ERROR:root:object of type 'NoneType' has no len() while sending mail to: &lt;A href="mailto:alican.uzunhan@XXX.com" target="_blank"&gt;alican.uzunhan@XXX.com&lt;/A&gt;&lt;BR /&gt;
05-27-2015 15:00:14.537 +0300 ERROR ScriptRunner - stderr from '/home/ubuntu/splunk/bin/python /home/ubuntu/splunk/etc/apps/search/bin/sendemail.py "results_link=&lt;A href="http://splunk.XXX.com:8000/app/search/search?q=%7Cloadjob%20scheduler" target="_blank"&gt;http://splunk.XXX.com:8000/app/search/search?q=%7Cloadjob%20scheduler&lt;/A&gt;&lt;/EM&gt;&lt;EM&gt;admin&lt;/EM&gt;&lt;EM&gt;search&lt;/EM&gt;&lt;EM&gt;RMD503b2a30f8d178922_at_1432728000_163%20%7C%20head%202%20%7C%20tail%201&amp;amp;earliest=0&amp;amp;latest=now" "ssname=XXX_Top_IP_Alert" "graceful=True" "trigger_time=1432728012" results_file="/home/ubuntu/splunk/var/run/splunk/dispatch/scheduler&lt;/EM&gt;&lt;EM&gt;admin&lt;/EM&gt;&lt;EM&gt;search&lt;/EM&gt;&lt;EM&gt;RMD503b2a30f8d178922_at_1432728000_163/per_result_alert/tmp_1.csv.gz"':  ERROR:root:object of type 'NoneType' has no len() while sending mail to: &lt;A href="mailto:alican.uzunhan@XXX.com" target="_blank"&gt;alican.uzunhan@XXX.com&lt;/A&gt;&lt;BR /&gt;
05-27-2015 15:25:02.208 +0300 ERROR ScriptRunner - stderr from '/home/ubuntu/splunk/bin/python /home/ubuntu/splunk/etc/apps/search/bin/sendemail.py "results_link=&lt;A href="http://splunk.XXX.com:8000/app/search/@go?sid=scheduler" target="_blank"&gt;http://splunk.XXX.com:8000/app/search/@go?sid=scheduler&lt;/A&gt;&lt;/EM&gt;&lt;EM&gt;admin&lt;/EM&gt;&lt;EM&gt;search&lt;/EM&gt;&lt;EM&gt;RMD5131a0bf9ef43f8b3_at_1432729500_212" "ssname=500 ALERT 2" "graceful=True" "trigger_time=1432729501" results_file="/home/ubuntu/splunk/var/run/splunk/dispatch/scheduler&lt;/EM&gt;&lt;EM&gt;admin&lt;/EM&gt;&lt;EM&gt;search&lt;/EM&gt;&lt;EM&gt;RMD5131a0bf9ef43f8b3_at_1432729500_212/results.csv.gz"':  ERROR:root:object of type 'NoneType' has no len() while sending mail to: &lt;A href="mailto:alican.uzunhan@XXX.com" target="_blank"&gt;alican.uzunhan@XXX.com&lt;/A&gt;&lt;BR /&gt;
05-27-2015 15:55:02.214 +0300 ERROR ScriptRunner - stderr from '/home/ubuntu/splunk/bin/python /home/ubuntu/splunk/etc/apps/search/bin/sendemail.py "results_link=&lt;A href="http://splunk.XXX.com:8000/app/search/@go?sid=scheduler" target="_blank"&gt;http://splunk.XXX.com:8000/app/search/@go?sid=scheduler&lt;/A&gt;&lt;/EM&gt;&lt;EM&gt;admin&lt;/EM&gt;&lt;EM&gt;search&lt;/EM&gt;&lt;EM&gt;RMD5131a0bf9ef43f8b3_at_1432731300_269" "ssname=500 ALERT 2" "graceful=True" "trigger_time=1432731301" results_file="/home/ubuntu/splunk/var/run/splunk/dispatch/scheduler&lt;/EM&gt;&lt;EM&gt;admin&lt;/EM&gt;&lt;EM&gt;search&lt;/EM&gt;_RMD5131a0bf9ef43f8b3_at_1432731300_269/results.csv.gz"':  ERROR:root:object of type 'NoneType' has no len() while sending mail to: &lt;A href="mailto:alican.uzunhan@XXX.com" target="_blank"&gt;alican.uzunhan@XXX.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:16:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-am-I-not-receiving-email-notifications-after-setting-up-an/m-p/114784#M1700</guid>
      <dc:creator>alican</dc:creator>
      <dc:date>2020-09-28T20:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I not receiving email notifications after setting up an alert?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-am-I-not-receiving-email-notifications-after-setting-up-an/m-p/114785#M1701</link>
      <description>&lt;P&gt;Hi @alican,&lt;BR /&gt;
Thanks for your question. I am a technical writer here at Splunk and I would like to look into this for you. Let me run your question by our engineers and I'll let you know what I find out. Please stay tuned and feel free to post further questions or comments here.&lt;BR /&gt;
Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2015 01:10:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-am-I-not-receiving-email-notifications-after-setting-up-an/m-p/114785#M1701</guid>
      <dc:creator>frobinson_splun</dc:creator>
      <dc:date>2015-06-16T01:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I not receiving email notifications after setting up an alert?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-am-I-not-receiving-email-notifications-after-setting-up-an/m-p/114786#M1702</link>
      <description>&lt;P&gt;Hi @alican, our engineers are asking if you can file a support ticket to help investigate the issue you're seeing a bit further. It's not fully clear from the logs whether this is a bug, a problem with your SMTP server, or maybe something wrong with the email configuration.&lt;BR /&gt;
Here is a resource for working with support:&lt;BR /&gt;
&lt;A href="http://www.splunk.com/en_us/support-and-services/support-programs.html"&gt;http://www.splunk.com/en_us/support-and-services/support-programs.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Let me know if you have any further questions.&lt;BR /&gt;
Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2015 23:43:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-am-I-not-receiving-email-notifications-after-setting-up-an/m-p/114786#M1702</guid>
      <dc:creator>frobinson_splun</dc:creator>
      <dc:date>2015-06-17T23:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I not receiving email notifications after setting up an alert?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-am-I-not-receiving-email-notifications-after-setting-up-an/m-p/114787#M1703</link>
      <description>&lt;P&gt;Hey there!&lt;/P&gt;

&lt;P&gt;I've come across a similar issue.  Currently have mail notifications using gmail SMTP.  Here's what I'm seeing in the splunkd.log:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;11-18-2015 12:00:02.633 -0800 ERROR ScriptRunner - stderr from '/opt/splunk/bin/python /opt/splunk/etc/apps/search/bin/sendemail.py "results_link=https://[omitted]/app/search/@go?sid=scheduler_YW5kcmV3LmhpbGw__search__RMD50d06411b8621c38a_at_1447876800_14745" "ssname=[omitted]" "graceful=True" "trigger_time=1447876801" results_file="/opt/splunk/var/run/splunk/dispatch/scheduler_YW5kcmV3LmhpbGw__search__RMD50d06411b8621c38a_at_1447876800_14745/results.csv.gz"':  ERROR:root:object of type 'NoneType' has no len() while sending mail to: [omitted]@[omitted].com
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;To mitigate, I've reconfigured the mail settings on the instance. However, this has already happened twice.  I'd like to get to the root of the issue.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Andrew,&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2015 21:47:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-am-I-not-receiving-email-notifications-after-setting-up-an/m-p/114787#M1703</guid>
      <dc:creator>andrewjhill</dc:creator>
      <dc:date>2015-11-18T21:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I not receiving email notifications after setting up an alert?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-am-I-not-receiving-email-notifications-after-setting-up-an/m-p/114788#M1704</link>
      <description>&lt;P&gt;Of Course it's just temporary solution, but try re save email settings in Splunk.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2015 13:05:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-am-I-not-receiving-email-notifications-after-setting-up-an/m-p/114788#M1704</guid>
      <dc:creator>DimkoBilanko</dc:creator>
      <dc:date>2015-12-04T13:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I not receiving email notifications after setting up an alert?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-am-I-not-receiving-email-notifications-after-setting-up-an/m-p/114789#M1705</link>
      <description>&lt;P&gt;Had the same problem on Splunk 6.3.2, after re-save the problem was solved.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2016 13:35:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-am-I-not-receiving-email-notifications-after-setting-up-an/m-p/114789#M1705</guid>
      <dc:creator>BBakkenes</dc:creator>
      <dc:date>2016-01-15T13:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I not receiving email notifications after setting up an alert?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-am-I-not-receiving-email-notifications-after-setting-up-an/m-p/114790#M1706</link>
      <description>&lt;P&gt;hi alican,&lt;/P&gt;

&lt;P&gt;what operating system you use?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2016 13:50:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-am-I-not-receiving-email-notifications-after-setting-up-an/m-p/114790#M1706</guid>
      <dc:creator>gyslainlatsa</dc:creator>
      <dc:date>2016-01-15T13:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I not receiving email notifications after setting up an alert?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-am-I-not-receiving-email-notifications-after-setting-up-an/m-p/114791#M1707</link>
      <description>&lt;P&gt;Hi @BBakkenes, @DimkoBilanko, and @alican,&lt;BR /&gt;
Were any of you able to file a support case to report this issue? &lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2016 18:29:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-am-I-not-receiving-email-notifications-after-setting-up-an/m-p/114791#M1707</guid>
      <dc:creator>frobinson_splun</dc:creator>
      <dc:date>2016-01-15T18:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I not receiving email notifications after setting up an alert?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-am-I-not-receiving-email-notifications-after-setting-up-an/m-p/114792#M1708</link>
      <description>&lt;P&gt;Same issue here with 6.4.0. But sendemail didn't work as well.&lt;/P&gt;

&lt;P&gt;Workaround worked fine. &lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 13:30:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-am-I-not-receiving-email-notifications-after-setting-up-an/m-p/114792#M1708</guid>
      <dc:creator>vostro</dc:creator>
      <dc:date>2016-06-15T13:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I not receiving email notifications after setting up an alert?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-am-I-not-receiving-email-notifications-after-setting-up-an/m-p/114793#M1709</link>
      <description>&lt;P&gt;Crazy!!! Also for me on Splunk 6.3.3, resaving the email settings solved the problem!!!&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2016 09:57:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-am-I-not-receiving-email-notifications-after-setting-up-an/m-p/114793#M1709</guid>
      <dc:creator>marcoscala</dc:creator>
      <dc:date>2016-10-07T09:57:47Z</dc:date>
    </item>
  </channel>
</rss>

