Environment.NewLine didn't works in body email

Hi,

I use String.Join(Environment.NewLine,MyVariable) to separate data in new line. it works when I test using Write Line.
Capture1
image

unfortunately, when i call the variable in body email, my data shows in one single line

I need the data in separate line as well. Can someone help me?

Many thanks.

Hi,

How did you check your content?
If you use HTML mail, can you try to use "<br />" instead of ENvironment.NewLine?

Regards,

2 Likes

image
Thank you. Solved. :smiley:

I am always getting confuse to use join method Yoichi can you please explain how to use this in more convenient way and what type of problem can we solve using this ? I have check documentio n but not clear can you explain with some easy and complex scenario.

Appreciate you.

what type of value in Vlist variable can you please share any screenshot.


this is the value in VList

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.