Splunk Dev

How to send mail from Splunk app?

datphamtat
Explorer

Hi everyone,

I am using Splunk UI (Splunk Design System) to develop the Splunk App (with ReactJs)

I want to send the email from my app( use Splunk SMTP setting).

My app is allowing users can select the sender, recipient (to, cc, bcc), body. So my question is: Can we get the SMTP setting from Splunk? How can I send the email from app with Reactjs, does Splunk JS SDK support it?

I knew I could create a custom rest endpoint with a python script to create send mail endpoint backend API but it is very complex. I want to find another way.

Thank!

Labels (3)
Tags (2)
0 Karma

datphamtat
Explorer

Does anyone have experience with that? Thank!

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Analytics Workspace deprecation

As of Splunk Cloud Platform 10.4.2604 and Splunk Enterprise 10.4, Analytics Workspace is now deprecated. ...

Splunk Developer Day Recap: Building, Publishing, and Growing on the Splunk Platform

Splunk Developer Day brought the Splunk developer community together for a practical look at what it means to ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...