Enhancing Email Styling with Email Connector Module

0
Hi all, In my app, I'm using the Email Connector module to send emails to users based on various interactions—for example, when a user is assigned a new action. I’ve set up email templates that are triggered via microflows when these events occur. I’m now looking to improve the styling of these emails to give them a more polished and professional look. Below, I’ve shared an example of the current email content along with the section where I’d like to enhance the design and formatting. Any guidance or best practices for implementing better HTML/CSS styling in Mendix email templates would be greatly appreciated! Thanks in advance!   P.S. I noticed that you can insert html code in email template page but this doesnt seem to give the same look as I am after.   Current method:   New design:
asked
1 answers
0

Hi, 

 

Check if the styling that you add in the code section is actually getting saved or not by reopening the code popup. From the screenshot of code you provided, it doesn't seem to have any of the styling.

 

The editor has some sort of auto validations that are mandatory for some of the tags. For example, you can't add an anchor tag without href, rel or target etc. Make sure to add them. Sometimes they get removed or sometimes they get auto converted. For example

<a href="#" style="text-decoration: none;"><p style = "color:white; font-weight:bold;">GeeksforGeeks</p></a>

gets converted to 

<p><strong style="color: white;"><a href="#" rel="noopener noreferrer" target="_blank">GeeksforGeeks</a>
</strong>
</p>

 

Try the solution provided below and see if it works and keep an eye on which styling is getting removed and make changes accordingly.

https://community.mendix.com/link/space/app-development/questions/109559

 

Regards,

Raghav

 

 

answered