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
Get Updates on the Splunk Community!

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...