- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2017 10:02 AM
I created a new notification for approval and added this script on the message html - located under what it will contain tab.
The contents of the mail script are the following:
The images that being called are the 1st and 2nd from this picture:
But when I click the preview notification, this is what I've got,
In any case, why is that the image that I called from the mail script doesn't show up? Why did it call the 5th image? At the same time, why is it similar, when in the first place I made a script differently, Is there something wrong with my codes?
Message was edited by: Leah Marie David
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2017 11:08 AM
Ah !, This is how my entire script is , Approval, Reject , Send back
template.print('<p>');
template.print('<a href="mailto:' + sServer + '?subject=Re:${number} - approve&body=${watermark}">');
template.print('<img style="cursor: pointer;" title="Click Here to Approve" src="approve.png" alt="" width="46" height="45" />');
template.print('</a>');
template.print(' ');
template.print('<a href="mailto:' + sServer + '?subject=Re:${number} - reject&body=${watermark}">');
template.print('<img style="cursor: pointer;" title="Click Here to Reject" src="reject.png" alt="" width="46" height="45" />');
template.print('</a>');
template.print(' ');
template.print('<a href="mailto:' + sServer + '?subject=Re:${number} - reschedule&body=${watermark}">');
template.print('<img style="cursor: pointer;" title="Click Here to Send Ticket Back" src="sendback.png" alt="" width="46" height="45" />');
template.print('</a>');
template.print('</p>');
You can try this way, or if you can post your email script i can see what is different
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2017 10:27 AM
Hi Leah,
Hope you tried clearing the browser cache, else you can try that.
This is how we print the icons on the mail, you can try these...
template.print('<a href="mailto:' + sServer + '?subject=Re:${number} - approve&body=${watermark}">');
template.print('<img style="cursor: pointer;" title="Click Here to Approve" src="approve.png" alt="" width="46" height="45" />');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2017 10:37 AM
Hi Karthik,
Will I create a new mail script and paste this one? or will I direct this one on the script - located on the what it will contain tab?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2017 10:45 AM
Hi Leah,
You need to have the snippet on mail script, you can create a new one or try in your existing mail script too.
you may have to change the image name too
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2017 10:58 AM