Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Formatting a Notification Email Script in a Message

Mike Ellis
Mega Guru

2018-01-05 (2).png

Does anyone know how I can change the formatting of the output of the Notification Email Script so that it matches the rest of the text in the message body?

1 ACCEPTED SOLUTION

Mike Ellis
Mega Guru

As a new Certified System Administrator, I really value the community for the wealth of information & support available.   As such I think it only right I post my findings for any other "Newbies" out there.



Here's what I learned:



  • If I just drop the HTML tags as part of the template.print strings (see below)

Notification Email Script Medium.PNG



  • then it passes it over to the notification as a string (See Email Log Record below - Body now contains HTML)

Email Log Record.PNG


.


  • and the notification interprets the HTML, resulting in PRESTO!!!

Preview Email.PNG


Hope that helps!


View solution in original post

1 REPLY 1

Mike Ellis
Mega Guru

As a new Certified System Administrator, I really value the community for the wealth of information & support available.   As such I think it only right I post my findings for any other "Newbies" out there.



Here's what I learned:



  • If I just drop the HTML tags as part of the template.print strings (see below)

Notification Email Script Medium.PNG



  • then it passes it over to the notification as a string (See Email Log Record below - Body now contains HTML)

Email Log Record.PNG


.


  • and the notification interprets the HTML, resulting in PRESTO!!!

Preview Email.PNG


Hope that helps!