New line while Mail Message?


#1

How to go to new line when sending Mail Message & IsBodyHtml is checked?


#2

Hi @UiMe

I suppose you can add a new line with the HTML tag:
<BR />

I did not test it myself though in UiPath, so let me know if that worked :slight_smile:


#3

Here is the solution if someone needs it:

String=Test

You can check IsBodyHtml and add this in body mail:

"<b>"+String+"</b>"+"<br>"+"Another Test"+"</b>"

This will give:
Test
Another Test


#5

Thanks for sharing the solution :slight_smile:


#6

@loginerror

WELCOME


#7