- 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 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 11:23 AM
Hi Karthik,
It finally show up. thanks for your help.
Regards,
Leigh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-04-2018 01:26 AM
Hi Karthik,
Is there anyway i can add include body of the reply email with formatted text(include html tags)
template.print('<a href="mailto:' + sServer + '?subject=Re:${number} - reschedule&body=${watermark}">');
Thanks,
Neethu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-02-2019 05:30 AM
Hi Karthik,
Can you please share detail step to implement the above script? I uploaded the images and created a email script and then calling it through template change.itil.approvel.role like ${mail_script:approval_image} but this is not working.
Regards,
Jitendra Singh