Render Spaces in the email and UI

0
Hi,   In my app, I’m sending an email and displaying email body in the multiple places within app. In UI, the  email body is being display with all indentation and space. However in the email body all the spaces  and indentation are removed and displaying in the single line. Kindly help me in this regards. Thanks in advance.
asked
1 answers
0

Use an HTML editor to create the body of your email and use the resulting HTML as a string and put it in an Email template. If you use tokens do make sure that those are already inside the HTML string. Then you only need to replace those tokens before sending out an email based on this template. See also documentation here: https://docs.mendix.com/appstore/modules/email-with-templates/

 

Regards,

Ronald

 

answered