|
1 | | -# issues with email templates and formatting in Dynamics 365 |
| 1 | +--- |
| 2 | +title: Issues with Email Templates and Formatting in Dynamics 365 |
| 3 | +description: Solves incorrect formatting, missing columns, and spacing issues when emails are sent using Copilot and issues with the arbitrary tracking code appended to the subject line and the issue of emails being sent only to the first contact in the selected list. |
| 4 | +ms.reviewer: Megha |
| 5 | +ms.date: 04/09/2025 |
| 6 | +ms.custom: sap:E-Mail, DFM |
| 7 | +--- |
| 8 | +# Issues with email templates and formatting in Dynamics 365 apps |
2 | 9 |
|
3 | | -This article addresses common issues encountered with email templates and formatting in Dynamics 365 Customer Service and Sales, including problems with the Enhanced Email form and email tracking tokens. The article provides detailed steps to resolve these issues. |
| 10 | +This article addresses common issues encountered with email templates and formatting in Dynamics 365 Customer Service and Dynamics 365 Sales, including problems with the Enhanced Email form and email tracking tokens. |
4 | 11 |
|
5 | | -## Symptoms |
| 12 | +## Symptom 1 |
6 | 13 |
|
7 | | -Users may experience the following issues with email templates and formatting in Dynamics 365: |
8 | | -1. Emails sent using Copilot with the Enhanced Email form display incorrect formatting, missing columns, and spacing issues when received by end users. |
9 | | -2. Emails sent from Dynamics 365 Sales using templates append an arbitrary tracking code (CRM:nnnnn) to the subject line and only send emails to the first contact in the selected list instead of all intended recipients. |
| 14 | +When emails are sent using Copilot with the Enhanced Email form, the emails received by end users have issues with their appearance. Specifically, the formatting is incorrect, some columns are missing, and there are problems with spacing. |
10 | 15 |
|
11 | | -## Cause |
12 | | -1. The email formatting issue with Copilot and the Enhanced Email form arises due to a known issue with the "New Look" or "Modern Text Editor" being enabled. |
13 | | -2. The arbitrary code appended to the email subject line and emails being sent only to the first contact is caused by the email tracking token setting being enabled. |
| 16 | +### Cause |
14 | 17 |
|
15 | | -## Solution 1: Resolve issues with Copilot and Enhanced Email form |
| 18 | +The email formatting issue with Copilot and the Enhanced Email form occurs due to a known issue with the "New Look" or "Modern Text Editor" being enabled. |
| 19 | + |
| 20 | +### Resolution |
16 | 21 |
|
17 | 22 | Follow these steps to address the formatting issues caused by the Enhanced Email form: |
18 | | -1. Navigate to the Power Apps portal at [make.powerapps.com](https://make.powerapps.com). |
| 23 | + |
| 24 | +1. Navigate to the [Power Apps](https://make.powerapps.com). |
19 | 25 | 2. Select the relevant environment. |
20 | | -3. Go to **Tables > Email > Forms**, and then select the Enhanced Email form. |
21 | | -4. Locate the **Body** field and delete the existing Text Editor control component. |
| 26 | +3. Go to **Tables** > **Email** > **Forms**, and then select the **Enhanced Email** form. |
| 27 | +4. Locate the **Body** field and delete the existing text editor control component. |
22 | 28 | 5. Save and publish the changes. |
23 | | -6. Ensure the Enhanced Email Recipient control component is enabled for the **From**, **To**, **CC**, and **BCC** fields. Map these fields appropriately. |
24 | | -7. Set the **Static Value** for "Show Email address" to **True**. |
| 29 | +6. Ensure the **Enhanced Email Recipient control** component is enabled for the **From**, **To**, **CC**, and **BCC** fields. Map these fields appropriately. |
| 30 | +7. Set the **Static value** option for the **Show email address** setting to **True**. |
| 31 | + |
| 32 | +After removing the text editor control component from the **Body** field and enabling the **Enhanced Email Recipient control**, the email template rendering issues should no longer occur. |
| 33 | + |
| 34 | +For more information, see [Enable enhanced recipient control for email](/dynamics365/customer-service/administer/add-recipient-control). |
25 | 35 |
|
26 | | -After removing the Text Editor control component from the Body field and enabling the Enhanced Email Recipient control, the email template rendering issues should no longer occur. For detailed guidance, refer to [Enable enhanced recipient control for email | Microsoft Learn](https://learn.microsoft.com/en-us/dynamics365/customer-service/administer/add-recipient-control). |
| 36 | +## Symptom 2 |
27 | 37 |
|
28 | | -## Solution 2: Address issues with email tracking tokens |
| 38 | +When you send emails from Dynamics 365 Sales using templates, the system automatically adds a random tracking code (formatted as CRM:nnnnn) to the subject line of the email. Additionally, instead of sending the email to all the intended recipients in the selected list, it only sends the email to the first contact on that list. |
| 39 | + |
| 40 | +### Cause |
| 41 | + |
| 42 | +The arbitrary code appended to the email subject line and emails being sent only to the first contact is caused by the email tracking token setting being enabled. |
| 43 | + |
| 44 | +### Resolution |
29 | 45 |
|
30 | 46 | To prevent arbitrary tracking codes from being appended to the subject line and ensure emails are sent to all selected recipients: |
| 47 | + |
31 | 48 | 1. Access the Dynamics 365 Sales environment as a system administrator. |
32 | | -2. Navigate to **Settings > Administration > System Settings**. |
| 49 | +2. Navigate to **Settings** > **Administration** > **System Settings**. |
33 | 50 | 3. Under the **Email** tab, locate the **Use tracking tokens** setting. |
34 | 51 | 4. Disable the **Use tracking tokens** option. |
35 | 52 | 5. Save the changes. |
36 | 53 |
|
37 | | -Disabling tracking tokens will stop the system from appending codes to subject lines and ensure emails are sent to all intended recipients. |
| 54 | +## More information |
38 | 55 |
|
39 | | -By following the above steps, users can resolve the identified issues with email templates and formatting in Dynamics 365. |
| 56 | +[Add the rich text editor control to a model-driven app](/power-apps/maker/model-driven-apps/rich-text-editor-control) |
0 commit comments