I have an AWS SES email service configured in Splunk using TLS enabled. When I try to test if email configuration is working, I am getting a below error:
ERROR
:
command="sendemail", 'NoneType' object has no attribute 'find' while sending mail to: user@test.com
Your help is appreciated.
I resolved the same error, for myself, by specifying a from address as an argument to the sendemail command, from=addy@domain.com ...
@harvisingh9
try this ,
... | top 5 host | sendemail to="user@test.com" format=raw subject=myresults server=give your mail server details here sendresults=true
For more details, please go through below link,
https://docs.splunk.com/Documentation/SplunkCloud/6.6.1/SearchReference/Sendemail
Thanks a lot for your help however still getting the same error.
Note: I have Splunk Enterprise 6.5 version