Class VelocityMailTemplate

java.lang.Object
de.aikiit.mailversendala.template.VelocityMailTemplate
All Implemented Interfaces:
MailTemplate

public class VelocityMailTemplate extends Object implements MailTemplate
Mailing template that is based on Apache Velocity templates.
  • Constructor Details

    • VelocityMailTemplate

      public VelocityMailTemplate()
      Instantiate underlying template engine.
  • Method Details

    • getHtml

      public String getHtml()
      Description copied from interface: MailTemplate
      Returns HTML contents.
      Specified by:
      getHtml in interface MailTemplate
      Returns:
      mailing content in format HTML.
    • getPlaintext

      public String getPlaintext()
      Description copied from interface: MailTemplate
      Returns plaintext contents.
      Specified by:
      getPlaintext in interface MailTemplate
      Returns:
      mailing content in plaintext format.