You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -44,6 +43,7 @@ The Email Connector includes the following capabilities:
44
43
* SSL/TLS encryption
45
44
* XSS attack prevention
46
45
46
+
***Shared mailbox** support
47
47
***Email Templates** with rich text editor and placeholder tokens
48
48
***Real-time email monitoring** and folder management
49
49
***Attachment support** (normal and inline)
@@ -57,12 +57,12 @@ Missing a step, or changing the order can lead to errors.
57
57
{{% /alert %}}
58
58
59
59
1. Download and configure the latest version of the [Mx Model Reflection](/appstore/modules/model-reflection/) module.
60
-
1. Download and configure the latest version of the [Encryption](/appstore/modules/encryption/) module.
61
-
1. Download and configure the latest version of the [Community Commons](/appstore/modules/community-commons-function-library/) module.
62
-
1. Uninstall any previously installed email modules, such as [IMAP/POP3](https://marketplace.mendix.com/link/component/1042/) and [Email Module with Templates](https://marketplace.mendix.com/link/component/259/).
63
-
1. Remove any JAR files still be present in the userlib folder from older email modules which are now unused (for example, `javax.mail-1.6.2.jar`, `activation-1.1.jar`, and `commons-email.jar`).
64
-
1.[Clean the deployment directory](/refguide/app-menu/#clean-deployment-directory).
65
-
1. Add the **Email_Connector_Overview** page located in the **USE_ME > Pages** to your app navigation.
60
+
2. Download and configure the latest version of the [Community Commons](/appstore/modules/community-commons-function-library/) module.
61
+
3. Download and configure the latest version of the [Encryption](/appstore/modules/encryption/) module. The EncryptionKey constant must be set up in your application settings.
62
+
4. Uninstall any previously installed email modules, such as [IMAP/POP3](https://marketplace.mendix.com/link/component/1042/) and [Email Module with Templates](https://marketplace.mendix.com/link/component/259/).
63
+
5. Remove any JAR files still be present in the userlib folder from older email modules which are now unused (for example, `javax.mail-1.6.2.jar`, `activation-1.1.jar`, and `commons-email.jar`).
64
+
6.[Clean the deployment directory](/refguide/app-menu/#clean-deployment-directory).
65
+
7. Add the **Email_Connector_Overview** page located in the **USE_ME > Pages** to your app navigation.
66
66
67
67
### Migrating from Another Module
68
68
@@ -79,7 +79,7 @@ The module includes the following bundled widgets:
79
79
*[Pop-Up Menu](/appstore/widgets/popup-menu/)
80
80
81
81
{{% alert color="info" %}}
82
-
If you already have these widgets in your app and they are not up to date, you will get a "Some widgets can not be read" error.
82
+
If you already have these widgets in your app, and they are not up to date, you will get a "Some widgets can not be read" error.
83
83
{{% /alert %}}
84
84
85
85
## Setting up the Email Connector in Studio Pro {#setup}
@@ -99,10 +99,6 @@ The module includes a default **EmailConnectorAdmin** module role with pre-confi
99
99
100
100
The Email Connector provides building blocks that you assemble to create email functionality:
101
101
102
-
***[Entities](#entities)** - Represents a class of real-world objects, such as EmailAccount, EmailMessage, EmailTemplate, etc.
103
-
***[Snippets](#snippets)** - Reusable interface components that can be used across pages, layouts, and other snippets
104
-
***[Microflows](#microflows)** - Express application logic through actions such as creating objects, updating data, showing pages, and making decisions.
105
-
***[Java Actions](#java-actions)** - Extend application functionality beyond what's possible with microflows alone.
106
102
107
103
#### Entities {#entities}
108
104
@@ -261,14 +257,7 @@ This tab displays a list of any log entries related to errors in the Email Conne
261
257
262
258
Use the **SUB_SendEmail microflow** for standardized, Mendix-compliant email delivery with proper error handling and configuration management. For this you will need to create your message as an object of type `Email_Connector.EmailMessage` and associate it with the `Email_Connector.EmailAccount` object containing the send mail account.
263
259
264
-
When working with email templates, refer to the following sample microflows:
265
-
266
-
***Sample_ACT_CreateEmailFromTemplateAndThenSend** – Demonstrates how to create an email from a template, customize it, and then send it
267
-
***Sample_ACT_SendEmailWithTemplate** – Demonstrates how to send an email directly using a predefined template
268
-
269
-
{{% alert color="info" %}}
270
-
It is recommended to use **Sample_ACT_SendEmailWithTemplate** for most email template scenarios. It provides a streamlined implementation for sending templated emails with minimal configuration overhead.
271
-
{{% /alert %}}
260
+
When sending emails using templates, refer to the [Email Templates](#email-templates) section below.
272
261
273
262
### Sending Email via Java Action
274
263
@@ -457,26 +446,26 @@ Depending on your use case, modify the **azure_defaultConfig** constant to speci
457
446
458
447
###### Send Emails
459
448
460
-
| Permission Name | Description |
461
-
|-----------------|-------------|
462
-
| SMTP.Send | Send emails from mailboxes using SMTP AUTH. |
463
-
| User.Read | Sign in and read user profile (required for authentication). |
464
-
| openid | Sign users in (required for OAuth/OpenID Connect). |
| IMAP.AccessAsApp | Application | Read and write access to all mailboxes via IMAP. |
501
+
| POP.AccessAsApp | Application | Read and write access to all mailboxes via POP.|
513
502
514
503
Admin status is given on the added API permissions. The tenant admin must register the Microsoft Entra ID application's service principal in Exchange via Exchange Online PowerShell, as described in [Register service principals in Exchange](https://learn.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth#register-service-principals-in-exchange).
515
504
516
-
## Email Templates
505
+
## Email Templates {#email-templates}
517
506
518
507
1. Deploy your application to set up your **Email Templates** through the Email Connector user interface.
519
508
2. Navigate to the **Email Connector Overview** page.
@@ -655,7 +644,7 @@ To add inline attachments to an email message, use the Rich text editor to inser
655
644
656
645
### Page Styling
657
646
658
-
If the **Email Connector** page styling is affected as you select and view email messages, it likely due to errors in the email message CSS.
647
+
If the **Email Connector** page styling is affected as you select and view email messages, it is likely due to errors in the email message CSS.
659
648
660
649
To resolve the errors, turn on **Sanitize email to prevent XSS attacks** in [Account Settings](#other-account-settings).
0 commit comments