Javascript command 'mailto'

What is used to highlight text in javascript 'mailto'? After some research, I found that% 0A is used to insert a new line.

This is my javascript:

location.href="mailto:" +
   "?subject=" + "Sub:{!Trigger_Event__c.Title__c}" + 
   "&body="+ "Title:{!Trigger_Event__c.Title__c}"+"%0AOrganization:" + "{!Trigger_Event__c.Account__c}";

I need to highlight the "Title" in the script.

Please provide your details.

Thanks in advance.

+3
source share
1 answer

I assume that you want to make the text "Title" in the body of the message bold. Something like this: ..."&body="+ "Title:<BOLD>{!Trigger_Event__c.Title__c}</BOLD>"+"%0A...Is that what you mean?

. mailto . RFC 6068. . , - - Rich Text HTML, , , .

+5

Source: https://habr.com/ru/post/1794092/


All Articles