Getting Data In

ERROR sendemail:- [Errno 101] Network is unreachable while sending mail to:

New Member


I Have sometimes the error Network is unreachable while sending mail to: on the log file: /opt/splunk/var/log/splunk/python.log when sending email with an automatic alert .

With the command : index=main | head 5 | sendemail subject="Here is an email notification" message="This is an example message" sendresults=true inline=true format=raw s ==> No problem, I have always received the email.

So I don't understand why the email is sometimes send and sometimes not with the automatic alert!

Some informations:

  • Splunk version: 7.0.3
  • I use gmail SMTP to sending email (

Thank you in advance for your answer 🙂

0 Karma
.conf21 CFS Extended through 5/20!

Don't miss your chance
to share your Splunk
wisdom in-person or
virtually at .conf21!

Call for Speakers has
been extended through
Thursday, 5/20!