Reporting

Error while sending email using AWS SES

harvisingh9
Explorer

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: [email protected]

Your help is appreciated.

0 Karma

jerryebladesjr
New Member

I resolved the same error, for myself, by specifying a from address as an argument to the sendemail command, from=[email protected] ...

0 Karma

sbbadri
Motivator

@harvisingh9

try this ,

... | top 5 host | sendemail to="[email protected]" 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

0 Karma

harvisingh9
Explorer

Thanks a lot for your help however still getting the same error.

Note: I have Splunk Enterprise 6.5 version

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Classic British Rock Bands

This puzzle series (first published here) is based on extracting information from statements about well-known ...

New to the Community? Join Us for an Exclusive Post .conf26 Welcome Session (Plus a ...

Keep the .conf26 Energy Going: Welcome to the Splunk Community! Whether we scanned your badge at the Community ...

Accelerate Splunk App Development with AI

  Learn how to automate the repetitive parts of your build cycle.   Register to Attend   Join our Tech Talk ...