Introduction
This plugin is still in development.
This is a process plugin tool that lets you send emails using the MS Graph API. This plugin is a product of automating the process design of sending an email with the MS Graph API using Joget's JSON tool. If you want to know more about doing this process manually, look at the Send Email using MS Graph API guide.
Prerequisites
Some of the things you will need before you can properly use this plugin tool.
- Azure App; You will need to already have registered your own Azure app. If you're unsure on how to create one, do look at the first section of this guide.
- The Enhanced JSON Tool; This plugin involves invoking other plugins, and that plugin here is the Enhanced JSON Tool. As of writing this, this plugin is not installed by default in Joget DX8, unlike the regular Joget JSON Tool plugin, so to properly use this plugin, you will to also have the Enhanced JSON Tool installed.
Configuration
The configuration of the plugin is split into two parts.
Configure Azure app
This section is to configure the information related to your Azure app.
Name | Description |
---|---|
Tenant ID | A textbox to enter the tenant ID of your Azure app, can be found in the overview page under "Directory (tenant) ID". |
Client ID | A textbox to enter the client ID of your Azure app, can be found in the overview page under "Application (client) ID". |
Client Secret | A textbox to enter the client secret of your Azure app, can be found under the "Certificates & secrets" page (assuming the value hasn't been hidden). |
Configure Message
This section is to configure the information of the email you are going to send using the API.
Name | Description |
---|---|
Sender Email | A textbox, determines which email will be sending the email. |
Recipient Email | A textbox, determines which email will be receiving the email. |
CC | A textbox, determines which email will be receiving the Carbon Copy of the email. |
BCC | A textbox, determines which email will be receiving the Blind Carbon Copy of the email. |
Subject | A textbox, determines the subject of the email. |
Message | A textbox, determines the contents of the email. |
Form | A selectbox that will include all forms in your application, determines which form it will take its fields from for the "Attachments" configurations. |
Attachments | A selectbox that will include all fields from the given form, determined which field to extract an attachment for the email. |
Demo app
The app below is a quick showcase of this plugin