I am sending an html email and the body is very long, lots of tables and things. I am generating the html content in visual web developer and then cut and pasting it into a string variable.
As you can imagine, the html code takes place on several lines, around 20 lines in fact. To insert all of this html into a string variable, I can either put all the html on one line (the line would be rediculously long), or I can break the string up into sections by putting an underscore at the end of each line of html (but this means having to end the string with a double quote, use a &, and begin the string again on the next line with another double quote. This seems fairly sloppy. I also have to replace all of the double quotes with single quotes ( " with ' ).
Is there a better way to send an email with lots of html?
Thanks,
Sam
...
Go to the complete details ...