[MGNLMAIL-188] DOC: Update the guideline for creating custom templates Created: 22/Aug/23  Updated: 23/Oct/23

Status: Open
Project: Magnolia Mail Module
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Anh Vu Assignee: Martin Drápela
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2023-08-22-10-53-45-705.png     PNG File image-2023-08-22-10-57-18-522.png     PNG File image-2023-08-22-11-09-42-136.png    
Issue Links:
relation
is related to MGNLMAIL-173 Cannot send template-based messages w... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: DevX Bucket
Team: DeveloperX

 Description   

The guideline for creating a custom template in Mail is out of date, and needs to be updated. The template file should be a resource file instead of being placed in /<CATALINA_HOME>/webapps/<contextPath>/ or webapps folders

Draft: 
To create a custom template:

  1. Create a Resource file as a template, for example simpleTemplate.html using Freemarker code.
  2. Register the new template in the /config/templatesConfiguration node.
  3. The new template appears in the dropdown list in the Verify templates tool.

 


Generated at Mon Feb 12 06:04:26 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.