Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

image in the email template.

ryadavalli
Tera Expert

I have a email template, I am trying to add an image in here. And in the email notification call this mail script. I am doing it by clicking on the insert/edit image. But in the email that is sent out I am getting "<p>Click
Here <img width="26" height="26" title=""
align="baseline" style="align: baseline;" alt=""
src...
" instead of the image.

Any suggestions why?

6 REPLIES 6

My source code says:


<p><img width="26" height="26" src="/survey.pngx" /></p>



But this code gets displayed in the email notification instead of image.


I am calling it like ${mailto:mailto.survey} in the email notification


russell_miller
Kilo Guru

Hi Ravali,



I've had problems with email templates and inserting images before.



I was experiencing a full path issue where the editor was putting in the relative path for the image - without the full path it would not display.



I got around this with a mail script that would insert the image with the instance path. Then I took this a step further to put in images to the mailto links...



Check this out...



Service-now Test Dummy: Graphic Buttons for email approvals



Hope that is of some help.


RM