Skip to content

Commit 7cae81d

Browse files
Addressed review comment
1 parent 198d25c commit 7cae81d

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

content/en/docs/marketplace/platform-supported-content/modules/email-connector.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -365,22 +365,20 @@ This tab displays a list of any log entries related to errors in the Email Conne
365365

366366
### Sending Email via Microflow
367367

368-
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.
368+
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.
369369

370-
When sending emails using templates, refer to the [Email Templates](#email-templates) section below.
370+
When sending an email, the To, From and Content fields are mandatory. When sending emails using templates, refer to the [Email Templates](#email-templates) section below.
371371

372372
### Sending Email via Java Action
373373

374-
When the module is running, click New Email to compose and send new emails.
375-
376374
When modeling your app in Studio Pro, use the SendEmail Java action to send emails. The input parameters are as follows:
377375

378376
* **EmailAccount** – The entity containing the configuration details for the outgoing email account
379377
* **EmailMessage** – The entity instance containing the content and details of the email to be sent
380378

381379
The return type is a Boolean value. This Java action uses the provided details to connect to the email server and send an email. It returns True if successful and displays the error object and cause if it fails.
382380

383-
When sending an email, the To and Content fields are mandatory. In To, CC, and BCC, you can optionally specify multiple email addresses, each separated by a semicolon (;).
381+
When sending an email, the To, From and Content fields are mandatory. In To, CC, and BCC, you can optionally specify multiple email addresses, each separated by a semicolon (;).
384382

385383
## Receive Email {#receive-email}
386384

@@ -712,10 +710,11 @@ For more information, see the [Reverse Proxy Inbound Rules](/developerportal/dep
712710

713711
Configuring local clients, such as [Papercut](https://github.com/ChangemakerStudios/Papercut-SMTP), is supported. If you are using a tool like Papercut, do the following:
714712

715-
1. Follow the steps for [adding an email account](#adding-email-account).
716-
2. Continue with manual configuration in the wizard (automatic configuration does not work for local clients).
717-
3. Select the **Send emails** checkbox.
718-
4. Select **SMTP** for the **Protocol**, and enter *localhost* for the **Server host**. Enter the **Server port** number (for example, *25*).
713+
1. Deploy your application to set up your **Send Email** accounts through the Email Connector user interface.
714+
2. Navigate to the **Email Connector Overview** page.
715+
3. Select the **Send Email** tab.
716+
4. Click **Add New Configuration** or edit an existing one using the **Action**.
717+
5. Select **SMTP** for the **Protocol**, and enter *localhost* for the **Server host**. Enter the **Server port** number (for example, *25*).
719718

720719
Both email and password are not required.
721720

@@ -740,7 +739,7 @@ To add inline attachments to an email message, use the Rich text editor to inser
740739
```
741740
'before inline image<br><img src="cid:mxcid:test.png" width="530" height="110"><br>after inline image'
742741
```
743-
742+
744743
2. Specify the image's tag source using the **cid:mxcid** prefix before the source file to have the image added as inline image.
745744
3. Create the attachment with the Position attribute set to **ENUM_AttachmentPosition.Inline**.
746745
4. Associate the attachment with EmailMessage. You can then send the email using the **SUB_SendEmail** microflow.

0 commit comments

Comments
 (0)