Uploaded image for project: 'Seam Mail'
  1. Seam Mail
  2. SEAMMAIL-19

Utilize an Interface for EmailTemplates

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.0.0.Alpha1
    • Fix Version/s: 3.0.0.Alpha1
    • Component/s: None
    • Labels:
      None

      Description

      Have you considered creating an abstraction here that alows for pluggable template resolvers? Otherwise you have this "explosion" of methods in the interface that may end up causing maintenance woes. However, if you replaced this with something like:

      .template(new HtmlFromClassPath("template.html.vm"))
      .subject(new HtmlFromClassPath("subject.html.vm"))

      People would be empowered to implement a simple interface with limitless extension possibilities.

        Attachments

          Activity

            People

            Assignee:
            clerum Cody Lerum
            Reporter:
            clerum Cody Lerum
            Archiver:
            samahaja Sagar Mahajan

              Dates

              Created:
              Updated:
              Resolved:
              Archived: