I have a system set up where I am using map with sendemail to email out notifications (which is working fine). However I now want to add company branding into the email through using our HTML formatted template. I can't for the life of me get Splunk to recognize html tags even with content_type=html .
A simple test I have been trying to get working is as follows:
| sendemail content_type=html to=me@company.com subject="TEST" from=splunk@localhost footer=. message="<b>HELLO </b> This is a test"
With the above, the email comes through fine, I just get a literal string with no formatting applied. I have tried different encodings (URL, Base64), and escaping so far, but couldn't think of much else! I don't want anything too fancy, and would prefer not to roll my own sendemail.py if it can be avoided.
... View more