emailTemplate Data Type

An object that defines the content of a marketing email.

Namespace
(Default)
Schema
ns0.xsd
Properties
name data type type namespace min/max occurs constraints description
code string element 1/1 required  
design emailDesign element 0/1   The design information for this template.
fromAddress string element 0/1    
fromName string element 0/1    
hostPassword string element 0/1   The password to log into the SMTP host with.
hostUser string element 0/1   The username that can log into the SMTP host.
htmlContent string element 1/1 required  
name string element 1/1 required  
smtpHost string element 0/1   The SMTP host to use as the sender for the email.
subject string element 1/1 required  
textContent string element 0/1    
Properties inherited from baseHibernateEntity
id long element 0/1   The unique internal ID of the object.
version long element 0/1   For internal use only. This is the serialization recorder for optimistic locking of several objects between sessions.
Properties inherited from baseEntity
violations list of simpleViolation element 0/unbounded   A list of constraint violations, if any, that this object has.

Example

<emailTemplate>
  <subject>...</subject>
  <code>...</code>
  <name>...</name>
  <htmlContent>...</htmlContent>
  <design>
    <header>...</header>
    <footer>...</footer>
    <style>...</style>
    <includeUnsubscribeLink>...</includeUnsubscribeLink>
    <id>...</id>
    <version>...</version>
  </design>
  <fromName>...</fromName>
  <fromAddress>...</fromAddress>
  <textContent>...</textContent>
  <smtpHost>...</smtpHost>
  <hostUser>...</hostUser>
  <hostPassword>...</hostPassword>
  <id>...</id>
  <version>...</version>
  <violations/>
</emailTemplate>