EmailContent Data Type

An object that represents the content of an email transaction.

Properties
name data type description
ccList array of string
bccList array of string
toAddress string
template EmailTemplate
generatePdfAndAttach boolean
replyToAddress string
skipHeader boolean
subject string
Properties inherited from BaseEntity
violations array of SimpleViolation A list of constraint violations, if any, that this object has.

Example

{
  "ccList" : [ "...", "..." ],
  "bccList" : [ "...", "..." ],
  "toAddress" : "...",
  "template" : {
    "subject" : "...",
    "code" : "...",
    "name" : "...",
    "htmlContent" : "...",
    "design" : {
      "header" : "...",
      "footer" : "...",
      "style" : "...",
      "includeUnsubscribeLink" : true,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "fromName" : "...",
    "fromAddress" : "...",
    "textContent" : "...",
    "smtpHost" : "...",
    "hostUser" : "...",
    "hostPassword" : "...",
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "generatePdfAndAttach" : true,
  "replyToAddress" : "...",
  "skipHeader" : true,
  "subject" : "...",
  "violations" : [ {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  }, {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  } ]
}