I tried calling the sendemail.py directly and I'm getting library import errors:
D:\Splunk\etc\apps\search\bin>python sendemail.py
Traceback (most recent call last):
File "sendemail.py", line 2, in
import re,sys,time,logging,splunk.Intersplunk, splunk.mining.dcutils as dcu
.
.
.
File "D:\Splunk\Python-2.7\lib\site-packages\splunk\clilib\cli_common.py", line 6, in
import lxml.etree as etree
ImportError: DLL load failed: %1 is not a valid Win32 application.
... View more