We have built a Reactive Application, but as this does not have the functionality to send emails we are using a Traditional Web App module to create and send emails, calling the action to send the email from the Reactive Web App. We have had to use in line styling as using CSS classes has no impact on the email. This largely works, and in Service Studio they always look ok. However, some of the emails have no spacing when they come through, regardless of whether we use padding or margin. There seems to be no explanation as to why it works for some but not others. I have even copied and pasted the exact same email with all the same styling in OutSystems, but one will come through with spacing and another doesn't. Has any come across this issue before? If so how was it fixed? Is there a reliable way to add spacing that comes through on the email every time?
Hi,
CSS will work in HTML email but it has limitations. In general, very simple CSS is always best when you code for email.
You can check this forum post that is related with your problem to understand better:
https://www.outsystems.com/forums/discussion/74519/css-is-not-taking-while-creating-email-template-outlook/
And you can check this link with very good info about this topic.
https://pinpointe.com/blog/email-campaign-html-and-css-support/
Hope this can help.
Best regards,
Ricardo Pereira