Make text line bold in email script

Raju kunde
Tera Contributor

 

Hello community,

 

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>');

 

 

Requirement is to make the above underline text should be bold & green colour.Lik below

 

What's the main reason for your rating of Dissatisfied?:

 

Where can we add <b> tags & colour code to achieve this? Pleas ehelp here.

2 REPLIES 2

Prince Arora
Tera Sage
Tera Sage

@Raju kunde ,

 

Just found that this is not possible.
Please check this link: https://stackoverflow.com/questions/5620324/mailto-link-with-html-body 

Mailto only 'sees' all the text in the body as plaintext and cannot identify CSS and styling. However it can identify break statements(new line).

If my answer solved your issue, please mark my answer as Correct & 👍Helpful based on the Impact.

@Raju kunde 

 

Please mark it as accepted it it has answered your query!