I try to send HTML but I get an error when writing the value at the content key as multiline string. What is the valid syntax for this?
var data = {
"subject":"Test",
"content": "{<body><br><br><table style='text-align: left; border: 10px solid
#f5f5f5;padding:36px;margin:0px auto;background-color: #fff;'
class='maincontainer' cellspacing='0 cellpadding='0'>}"
};
But it shows error.How to rectify?