Write an email in several lines


#1

I need to write an email using several lines in order to make faster the reading of the message. However, I have used vbnewline and Environment.NewLine but no sentence works.

the final email that I want is the following:
“The prices or quantities are incorrect, please verify the values:
Price in db: $ 500
Price in website: $300
Quantity in db: 34
Quantity in website: 34”

the sentence into the body email is:

“The prices or quantities are incorrect, please verify the values:”+vbNewLine+"Price in db: "+PriceDB+vbNewLine+“Price in website:”+PriceWS+vbNewLine+“Quantity in db:”+QuanDB+vbNewLine+“Quantity in website:”+QuanWS

The same sentence has been writing using Environment.NewLine

Although I wrote the sentence , the text is printed in one line.

I hope someone can help me


#2

If you use SMTP activity you can check the “is html” property and use <br /> in your body.
This way "Price in website: "+ PriceWS +"<br /> Quantity in db: "+ QuanDB will output:

Price in website: $300
Quantity in db: 34