
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2018 07:18 AM
I want to do something seemingly very simple, yet I'm struggling with it. I want to put a few lines of text in a mail script, so that I can insert the script into notifications and if something changes, I only have to change it in one place rather than 50 or 60 places.
Here's what I want the results to be in Arial font, 12px:
Thank you!
ACME Support
Email: support@acme.com
Phone: 800-555-5555
I do not want the spaces between the lines, but this editor is not letting me remove them.
Please help me construct a template.print statement to accomplish this goal. I have tried multiple things but am not getting what I'm after.
Thanks in advance.
Karla
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2018 07:32 AM
template.print("<p style='font-family: Arial, sans-serif; font-size: 12px;'>Thank you!<br/>ACME Support<br/>Email: support@acme.com<br/>Phone: 800-555-5555</p>");

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2018 07:32 AM
template.print("<p style='font-family: Arial, sans-serif; font-size: 12px;'>Thank you!<br/>ACME Support<br/>Email: support@acme.com<br/>Phone: 800-555-5555</p>");

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2018 07:46 AM
Thank you! Only one issue - in my notification template, I've chosen Arial 12 as the font and size, but in the resulting email, the font from the script doesn't match the rest of the notification. Do you know why that is?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2018 07:55 AM
Nevermind, I just changed it to 16px in the statement, which matches 12 in the HTML editor. 😕 Thank you for your quick help!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2018 07:33 AM
template.print('<p style="font-family: arial; font-size: 12px">Thank you!<br />ACME Support<br />Email: support@acme.com<br />Phone: 800-555-5555</p>');