I have C# code that creates HTML. One particular piece of code creates a long string which is no problem for the browser. However when I look at the code with view > source
works for me
So...
String body = String.Format(@"New user: Name: {0} Email: {1} Phone: {2}", Name, Email, Phone);
Produces...
New user: Name: Name Email: Email Phone: Phone