Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Tutorials
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Emails from Automation Script Fail

Solved1.38K views25th February 2022automation scipt email SMTP
1
Jamie Stutz [SLC] [DevOps Member]1.18K 25th February 2022 0 Comments

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!

Jamie Stutz [SLC] [DevOps Member] Selected answer as best 25th February 2022

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
10
Brent Alleweireldt [SLC]1.53K Posted 25th February 2022 2 Comments

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.

Jamie Stutz [SLC] [DevOps Member] Posted new comment 25th February 2022
Jamie Stutz [SLC] [DevOps Member] commented 25th February 2022

Hi Brent, Didn’t even think about that and I believe that is our issue. Will see about getting the permissions adjusted. Thanks!

Jamie Stutz [SLC] [DevOps Member] commented 25th February 2022

That was indeed it. Should have though to check account permissions. Thanks for the assist!

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas

Recent questions

How to implement bearer token refresh? 0 Answers | 0 Votes
Web Applications exception in Cube due to invalid certificate 0 Answers | 0 Votes
Redundancy Groups and Alarming – Duplicate Alarms 0 Answers | 0 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (109) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin