- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2024 11:12 PM
(function runMailScript( /* GlideRecord */ current, /* TemplatePrinter */ template,
/* Optional EmailOutbound */
email, /* Optional GlideRecord */ email_action,
/* Optional GlideRecord */
event) {
template.print("Yours sincerely,<br/>");
template.print("<b>xyz</b><br/>");
template.print("Director - <br/>");
template.print("pvt Limited<br/>");
template.print('<font size: 8px>');
template.print("<i>xyz</i><br/>");
template.print('</font>');
template.print("xyz, India<br/>");
template.print("Customer Service (Mon – Fri: 10.00 am to 07.00 pm).<br/>");
template.print("<a href='" + gs.getProperty("redirect.customer") + "'> Click here to connect us on portal</a><br/>");
template.print('<img src="<img src="https://xyz.service-now.com/signature%20email.png">');
//template.print('<P></P>');
})(current, template, email, email_action, event);
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2024 11:16 PM
Hi @AbhijeetKhade ,
Corrected Script:
(function runMailScript(current, template, email, email_action, event) { template.print("Yours sincerely,<br/>"); template.print("<b>xyz</b><br/>"); template.print("Director - <br/>"); template.print("pvt Limited<br/>"); template.print('<font size="8px">'); template.print("<i>xyz</i><br/>"); template.print('</font>'); template.print("xyz, India<br/>"); template.print("Customer Service (Mon – Fri: 10.00 am to 07.00 pm).<br/>"); template.print("<a href='" + gs.getProperty("redirect.customer") + "'> Click here to connect us on portal</a><br/>"); template.print('<img src="https://xyz.service-now.com/signature%20email.png" alt="Email Signature">'); })(current, template, email, email_action, event);
If you find my response helpful, please consider marking it as the 'Accepted Solution' and giving it a 'Helpful' rating. Your feedback not only supports the community but also encourages me to continue providing valuable assistance.
Thanks,
Amitoj Wadhera
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2024 11:17 PM
change your code as below
function runMailScript( /* GlideRecord */ current, /* TemplatePrinter */ template,
/* Optional EmailOutbound */
email, /* Optional GlideRecord */ email_action,
/* Optional GlideRecord */
event) {
template.print("Yours sincerely,<br/>");
template.print("<b>xyz</b><br/>");
template.print("Director - <br/>");
template.print("pvt Limited<br/>");
template.print('<font size: 8px>');
template.print("<i>xyz</i><br/>");
template.print('</font>');
template.print("xyz, India<br/>");
template.print("Customer Service (Mon – Fri: 10.00 am to 07.00 pm).<br/>");
template.print("<a href='" + gs.getProperty("redirect.customer") + "'> Click here to connect us on portal</a><br/>");
template.print('<img src="https://xyz.service-now.com/signature%20email.png">');
//template.print('<P></P>');
})(current, template, email, email_action, event);
.
Thanks
dgarad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2024 11:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2024 11:16 PM
Hi @AbhijeetKhade ,
Corrected Script:
(function runMailScript(current, template, email, email_action, event) { template.print("Yours sincerely,<br/>"); template.print("<b>xyz</b><br/>"); template.print("Director - <br/>"); template.print("pvt Limited<br/>"); template.print('<font size="8px">'); template.print("<i>xyz</i><br/>"); template.print('</font>'); template.print("xyz, India<br/>"); template.print("Customer Service (Mon – Fri: 10.00 am to 07.00 pm).<br/>"); template.print("<a href='" + gs.getProperty("redirect.customer") + "'> Click here to connect us on portal</a><br/>"); template.print('<img src="https://xyz.service-now.com/signature%20email.png" alt="Email Signature">'); })(current, template, email, email_action, event);
If you find my response helpful, please consider marking it as the 'Accepted Solution' and giving it a 'Helpful' rating. Your feedback not only supports the community but also encourages me to continue providing valuable assistance.
Thanks,
Amitoj Wadhera
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2024 11:25 PM
Thank you for solution its working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2024 11:26 PM
Hi @AbhijeetKhade ,
If you find my response helpful, please consider marking it as the 'Accepted Solution' and giving it a 'Helpful' rating. Your feedback not only supports the community but also encourages me to continue providing valuable assistance.
Thanks,
Amitoj Wadhera
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2024 11:57 PM
Thank you for quick response and yeah, its working now