Avatar of inewman
inewman

asked on 

Unable to wrap lines in html code message body email

I am trying to create an html email to be sent from my web page. I originally set it up for text but I am trying to convert it to html.  The text version worked fine.

My problem is that it seems that the entire html obj.body = code has to exist on one line.  If I hit enter and start a new line, visual studio automatically puts a " at the end of the first line and everything after fails.  This one long line of html code is very difficult to manage.  Is there any way to show the code in multiple lines?  
I tried attaching a snippet but it shows up wrapped.
Is there any way to define the html code in another file?  Any other suggestions?

Thanks,

Ira
.NET ProgrammingHTML

Avatar of undefined
Last Comment
inewman

8/22/2022 - Mon