Hi all,
I have a list of string. What i want is that, writing all items into the mail body from the list.
How can i do that?
Thanks.
Hi all,
I have a list of string. What i want is that, writing all items into the mail body from the list.
How can i do that?
Thanks.
String.join(",",List)
this will convert list to comma separated string which you can use in mail …you can use any separator as you need
List is where you give your list
Cheers
Thanks for your help
if i want to write each item to new line,
how can i do that?
String.join(Environment.Newline(),List)
If IsHTMLbody is checked then
String.join("<br>",List)
cheers
It worked. Thanks a lot.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.