I did a test and verified that it is supported in this way:
Body body = new Body();
Content textContent = new Content().withData("text content");
body.withText(textContent);
Content htmlContent = new Content().withData("html content");
body.withHtml(htmlContent);
|
The resulting email will be a multi-part email with both Plain Text and HTML components.
No comments:
Post a Comment