Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2023 06:55 AM
Hi,
Can someone please help me html mail script?
My issue is either I'm getting the entire line in bold and if I remove the <strong> entire line unbolds.
while (gr.next()) {
typeofuser = gr.variables.user_request.getDisplayValue();
firstname = gr.variables.first_name;
lastname = gr.variables.last_name;
}
template.print('<p>Account Type: <strong>' + typeofuser + '</strong><br />');
template.print('Frist Name: <strong>' + firstname +'</strong><br />');
template.print('Last Name: <strong>' + lastname +'</strong><br />');
expected result:
Account Type: NewUser
First Name: XXXXX
Last Name: XXXXX
Solved! Go to Solution.
2 ACCEPTED SOLUTIONS

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2023 07:06 AM
Hi Thomas,
Script you usiing should work. You can try below.
template.print('<p>Account Type: ');
template.print('<strong>' + typeofuser + '</strong><br />');
template.print('Frist Name :');
template.print('<strong>' + firstname + '</strong><br />');
template.print('Last Name: ');
template.print('<strong>' + lastname + '</strong><br />');

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2023 07:45 AM
When in bold
when not in bold
Ensure the mailscript called is not in bold.
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2023 07:56 AM
Bingo!
That was it. that mail script was in bold!
A big thank you