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

Utilize an Interface for EmailTemplates

    Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • 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.

        Gliffy Diagrams

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              clerum Cody Lerum
              Reporter:
              clerum Cody Lerum
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development