...
Templates are configured in the Configuration > /modules/mail/config/
templateConfiguration
folder. The testFreemarker
template is provided as an example.
Javadoc resource link |
---|
rangeHigherVersion | 5.4 |
---|
className | info.magnolia.module.mail.MailTemplate |
---|
renderType | asynchronous |
---|
|
allows for a number of configuration nodes and properties. The following are the most commonly used:
- Properties:
templateFile
: Mandatory. Relative path to the template script. type
: Mandatory. Scripting language used in the template.contentType
: Type of content for the message body. It is only necessary to include this property for HTML emails.from
: Email address that will appear in the From field of the message, unless defined elsewhere, for example in Form module.
subject
: Subject line of the email, unless defined elsewhere for example in the Form module.
- Nodes:
...