我有 javascript api 来发送电子邮件,我也可以在其中使用 html,所以我在其中创建表格,但它不工作并且表格不显示。这是我的代码:
<script>
$(document).ready(function(){
$("#commandEmail1").click(function() {
presenter.command("emailSend",{
"toEmail": "imran.hussain@celeritas-solutions.com",
"toName": "Celeritas",
"subject": "email test",
"body": "Single Attachment",
"bodyHtml":"<table width="200" border="1"><tr><td> </td><td> </td> </tr><tr> <td> </td><td> </td> </tr></table>",
"attachments": [""]
});
return false;
});
})
</script>