css - C# Email - New lines not rendering with white-space: pre-wrap -


i have email table , 1 value contains string multiple lines. (enter-key) when viewed in outlook or view source in ie, white-space not working.

any idea or solution?

thanks.

new lines within html not rendered such. need add <br> tags @ end of each line make sure email rendered correctly new lines.

you can within c# code replacing every new line character in problematic value <br>.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -