The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Email Approval Links with an Image

Makosko
Tera Expert

Hello Gurus,

I am looking to replace standard email link text ( e.g.: click here to approve RITM00033 ) with an image ( something like thumbs up for approve and thumbs down for reject ).

I`ve modified the original mailto.approval email template so that it includes an image tag as follows: <img src="/thumbs_up.pngx" width="100" height="100" />

The problem is that SN escapes HTML tags, essentially turning my image into a text.

Is there any way to tell SN not to escape HTML ?

Thanks a lot ! ( Please see attachments for more info)

20 REPLIES 20

Basically, I call an email template from within another template -> ${mailto:mailto.approval}, which has an img html tag in it.. ( this gets escaped by SN )


could i see the contents of your template ?


Here i used simple mailscript


<mail_script>


template.print("<b>Hello World</b><img src='78d1438a471121008586b9d17c9a71da.iix'></img>");


</mail_script>


Funny... I used the same script but it did not work... must be properties or something....


is that inside the mailto template ??