Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Some updates was added to the plugin, both the KB and the demo app should reflect this

Table of Contents

Introduction

Warning

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 guide here! 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 intalledinstalled.

Configuration

The configuration of the plugin is split into two parts.

...

This section is to configure the information related to your Azure app.

NameDescription
Tentant
Tenant IDA textbox to enter the tenant ID of your Azure app, can be found in the overview page under "Directory (tenant) ID".
Client IDA 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.

A selectbox that will include all forms in your application, determines which form it will take its fields from for the other configurations.
NameDescriptionForm
Sender EmailA selectbox that will include all fields from the given formtextbox, determines which field to extract the email that will be sending the email.
Recipient EmailA selectbox that will include all fields from the given formtextbox, determines which field to extract the email that will be receiving the email.
CCA selectbox that will include all fields from the given formtextbox, determines which field to extract the email that will be recieving receiving the Carbon Copy of the email.
BCCA selectbox that will include all fields from the given formtextbox, determines which field to extract the email that will be recieving receiving the Blind Carbon Copy of the email.
SubjectA selectbox that will include all fields from the given formtextbox, determines which field to extract the subject of the email.
Message A textbox, determines the contents of the email.
FormA selectbox that will include all fields from the given formforms in your application, determines which field to extract the contents of the emailform it will take its fields from for the "Attachments" configurations.
AttachmentsA selectbox that will include all fields from the given form, determined which field to extract an attachment for the email.

...

The app below is a quick showcase of this plugin