Hi Dojo!
We have a strange situation where emails generated by an Automation script fail, however, the system is capable of generating emails from Alert Filters as they have gone out between our testing yesterday and this morning. We created a simple automation script that does nothing more than an email, but when it executes, it fails. Here are some of the details:
Error Message
After running the script, we get the following error message:
The SLAutomation log also contains the following:
2022/02/25 14:34:47.260|SLAutomation.exe 10.1.2136.954|90464|109012|CRequest::Request|ERR|0|Remote Request for -SLNet- on -VT_EMPTY- failed. Access is denied. (hr = 0x80070005)
Type 142/0/0
MESSAGE: Not allowed. Missing permission: SendMail
VALUE 1: VT_ARRAY|VT_BSTR (7) : no_reply@***.com;***@***.com;;;;Email Test;
The messages above lead me to believe this is something happening in DataMiner, not external.
WireShark Test
To rule out external issues, we ran a test while WireShark was running on the DMA and didn't see outbound traffic to the SMTP server.
SMTP Setup
SMTP is setup, however, it's minimally configured. The following is in the DataMiner.xml config:
<SMTP> <Host>smtp.****.local</Host> <Helo>dataminer-***</Helo> </SMTP>
Any thoughts would be appreciated! We have a tight deadline (early next week) that requires the email functionality to be in place, but currently have no leads on why this is happening.
Thanks!
Hey Jamie,
From the error posted from the SLAutomation log it seems that the system complains of insufficient permissions to send the mail.
Could you check that the user you are running the script from has the 'Email->Send via DataMiner System' enabled.
That was indeed it. Should have though to check account permissions. Thanks for the assist!
Hi Brent, Didn’t even think about that and I believe that is our issue. Will see about getting the permissions adjusted. Thanks!