Hello Together,

is it possible to change the font of an email send with a mailstep?

At the moment its send with Times New Roman and we want to send with Arial.

Thanks Roland

asked 01.12.2015 at 13:28

roland's gravatar image

roland
(suspended)
accept rate: 41%


Yes this is possible. Just wrap the content with an HTML tag and use any HTML styling within the content. E.g.

<html>
<p style="font-family:Arial">Hi Arial</p>
hi other
</html>

mailcontent inscription

link

answered 01.12.2015 at 14:08

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
9.4k31958
accept rate: 70%

edited 01.12.2015 at 14:09

Hi Reguel,

thank you for this so far. But if I use CMS text in Mail content its not working. I Think its needed to put the Sytle in every cms text. is there no possibility to define default stylings at the ivy Server?

Thanks Roland

(02.12.2015 at 10:07) roland roland's gravatar image

You can easily combine a CMS element, that contributes the content with another CMS element which contributes the styling:

<html>
  <style type="text/css">
     <%=ivy.cms.co("/Styles/Classic")%>
  </style>

  <h1>hi user</h1>
  <p>
    <%=ivy.cms.co("/system/validation/mandatoryerrormessage")%>
  </p>
</html>

In this example i reference an existing styling and the generated mail looks like this: alt text

(02.12.2015 at 14:06) Reguel Werme... ♦♦ Reguel%20Wermelinger's gravatar image

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:

×34

Asked: 01.12.2015 at 13:28

Seen: 1,556 times

Last updated: 02.12.2015 at 14:06