Hello

How can I send formated emails? Assume I have an html-formated String and whant to bring it into my email. Problem here is that even this method will escape the String:

<%=ivy.html.getObject("in.mailString").toString()%>

Is there an other possibility to send the content of a JSP-Page?

Best regards

Alexis

asked 09.02.2015 at 18:56

Alexis's gravatar image

Alexis
(suspended)
accept rate: 66%

edited 10.02.2015 at 08:33


Hi Alexis

The email step sends HTML formatted mails if you start the Message with the <html> tag. For your example put the following text into the Message field in the content tab of the email step inscription mask:

< html>
<%=in.mailString%>
< /html>
link

answered 10.02.2015 at 16:50

Reto%20Weiss's gravatar image

Reto Weiss ♦♦
4.9k202857
accept rate: 74%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×33
×7

Asked: 09.02.2015 at 18:56

Seen: 2,230 times

Last updated: 10.02.2015 at 16:50