Hi,
Am trying to add the table to e-mail body, which is why using html.replace here.
My bad, sorry it should be html for all 3:
To answer to your question, it does not produce the desired result.
If I try to use single quote, it does not print/display the table at all in my e-mail body.
Am trying to add the table to e-mail body, which is why using html.replace here.
My bad, sorry it should be html for all 3:
html = html.replace("<thead>","<thead style=\"background-color:#00FF00\">") html = html.replace("<td=TEXT A>","<td style=\"background-color:#00FF00\">") html = html.replace("<td=TEXT B>","<td style=\"background-color:##FF0000\">")Does the string replacement work, and the problem is this does not produce the desired result, or is the string replacement?
To answer to your question, it does not produce the desired result.
If I try to use single quote, it does not print/display the table at all in my e-mail body.