How should i add space in the mailscript

Naresh291
Tera Contributor

Hi ,

how to add the space in the following script line in the notification mail script :

template.print(' The request to add/remove access for '+current.variables.requested_for.first_name+' has been processed.');

In the above script , i want to add the space in the beginning of the sentence i.e. before "The".

Any leads is highly appreciated.

20 REPLIES 20

Voona Rohila
Tera Patron

Hi Naresh

 

try

template.print('<p>&nbsp; The request to add/remove access for '+current.variables.requested_for.first_name+' has been processed.</p>');

Ankur Bawiskar
Tera Patron

@Naresh29 

is the space not coming since you already gave some space before The

Regards
Ankur

@Naresh29 

If it is not working fine then you can try approach mentioned by Aman

or you can also try to use OOB template.space()

Mail script API

Regards
Ankur

Its not working ,

Can you elaborate how exactlty do i need to add in the template.space()