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!

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...