Hi,
When using sendemail cmd like this:
| makeresults
| sendemail to="aaaaaa", from="bbbbbb" ,
subject=""
message="how do I get rid of the redundant characters "---" ",
sendresults=false inline=true format=table content_type=plain footer="i-Alert"
I receive:
"how do I get rid of the redundant characters "---" ------------------------------------------------------------------------ i-Alert"
I realy like to get rid of the "--------/ /---" string, especially when I want ot use sendemail for sms/txt messages. This is useless waist of text-space/length per sms / text-message.
I have looked in sendemail.py and found 3 strings like "---- ---" but removing it had no effect on the result.
Where should I look futher for removing this useless string of characters?
regards
AshleyP
Found it. I was working on the wrong Splunk machine 😞
Change the .../bin/sendemail.py and look for "plainFooterTemplate"
remove or replace the "------//----" string.
After remove I received:
"how do I get rid of the redundant characters "---" i-Alert"
Thanks
regards
AshleyP
It looks like a divider between the email body and the footer. Have you tried removing the footer?
Yes I did, No succes. I agree it looks like a divider in the layout of the email.