Appian Community and Appian Academy are being upgraded. From July 24–August 3, the Appian Community will be in read-only mode. During this time, the site will be read-only and user registration will be disabled. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!
The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.
Hi,
I am using the send email smart service.
I let the user write the body of the email in a paragraph field, save body text in a text variable, and in setup>Message Body field, I use an expression to fill the body with the text variable.
However, the email gets sent with no formatting. At least, I want to capture the "new line" breaks that the user enters in the paragraph field.
I would appreciate your help.
Discussion posts and replies are publicly visible
This can be tough. Something easy you can do is make an HTML template where you can inject your paragraph, this way you fully control the formatting.
That text in the email is being HTML formatted. Replacing char(10) with "<br />" using substitute() should get you started.
For more control on formatting, follow Danny's advice.
Thank you Danny and Stefan, the substitute solution worked like a charm!
PS: The body in the Send E-Mail smart service can interpret html tags, so there was no need to use an html template.