Solved

How to format email content

  • 4 March 2024
  • 9 replies
  • 84 views

Userlevel 7
Badge +22
  • Superhero (Customer)
  • 943 replies

Dear community,

I wonder if I can format the content of an email event.

I want to change the font, the font size and add a whitespace at the end of the content.

Is is possible?

icon

Best answer by dsj 4 March 2024, 10:46

View original

9 replies

Userlevel 7
Badge +20

Hi @Link 

 

Yes, you can do that when using HTML formatting

Check this post for some examples of using HTML formatting in email event actions.

Event Action email formatting | IFS Community

 

Note that your mail sender also need to setup with content type text/html to make it work.

 

Hope it helps!

Damith

Userlevel 7
Badge +22

Hi @dsj 

so I can add something like this?

<font face="Segoe UI" size="12">Format the font</font> <br />

Where is the curren font defined for emails?

Thank you.

 

 

Userlevel 7
Badge +20

Hi @dsj 

so I can add something like this?

<font face="Segoe UI" size="12">Format the font</font> <br />

Where is the curren font defined for emails?

Thank you.

 

 

 

Hi @Link 

Font size should be working as is, but setting the font face could be tricky due to different email client uses different approaches.

Have a look into using the web safe fonts (https://www.w3schools.com/cssref/css_websafe_fonts.php)

It might work for many email clients.

Otherwise, you can use the google fonts embed in css as well (https://www.w3schools.com/css/css_font_google.asp). But use this with cautious, since modern mail clients blocks the link references from 3rd parties and therefore might not work with emails.

Let me know what method worked for you :)

 

Cheers!

Damith

Userlevel 7
Badge +22

Hi @dsj 

thak you a lot for helping.

I will test that and get back to you again. :-)

Userlevel 7
Badge +22

Hi @dsj 

I’ve tested it and it works very good. I am able to change the font face, color, size etc.

Bu I can’t use HTML tags in the field “Subject”. Am I right?

Userlevel 7
Badge +20

Hi @dsj 

I’ve tested it and it works very good. I am able to change the font face, color, size etc.

Bu I can’t use HTML tags in the field “Subject”. Am I right?

 

Have not tried that, but I guess it’s not possible.

But you can use emojis in the subject if you want to send a email which looks cool 😎

Userlevel 7
Badge +22

I see. 

Thank you a lot for supporting. 😀

Userlevel 7
Badge +22

Hi @dsj 

one question more.

How can I use a parameter like &CUSTOMER in a HTML tag?

Userlevel 7
Badge +22

Oh, I withdraw my question.

It works as usual. 

Reply