Make text bold in email script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2023 12:28 AM
Hello community leaders,
Mail Script:
template.print('<a HREF="mailto:' + mail + '?subject=' + subject + '&body=To help us better understand your rating, please reply to this email but do not modify or delete the following items: satisfaction, survey, ticket.%0Asatisfaction: Dissatisfied%0A' + "survey: " + surv.number + "%0Aticket: " + surv.trigger_id.number + '%0A%0AWhats the main reason for your rating of Dissatisfied?:"><img src="Slightly_Satisfied.png" width="50" height="50"/></a>');
Requirment is to make the above underline text should be bold & green colour.Lik below
Whats the main reason for your rating of Dissatisfied?:
Where can we add <b> tags & colour code to achieve this? Pleas ehelp here.
Thnaks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2023 07:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2023 06:56 PM
you can use <b> tag and font tag for green color
Did you try that?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2023 09:51 PM
Hi @n_16 ,
Give a try to below code :-
template.print('<a HREF="mailto:' + mail + '?subject=' + subject + '&body=To help us better understand your rating, please reply to this email but do not modify or delete the following items: satisfaction, survey, ticket.%0Asatisfaction: Dissatisfied%0A' + "survey: " + surv.number + "%0Aticket: " + surv.trigger_id.number + '%0A%0A<b style="color: green;">Whats the main reason for your rating of Dissatisfied?:</b>"><img src="Slightly_Satisfied.png" width="50" height="50"/></a>');
Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2023 12:21 AM
Hi,
Please use <b> text </b>.