...
Advanced Tables - Table Plus |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
|
Mail command
Javadoc |
---|
rangeHigherVersion | 5.5 |
---|
className0 | info.magnolia.module.mail.commands.MailCommand |
---|
renderType | asynchronous |
---|
|
is used to send all mails in Magnolia. The command can execute on events such as user actions, workflow steps and scheduled jobs. You can write message templates and test them manually in the
Mail tools app before automating the process for production use.
...
Templates are configured in /modules/mail/config/templateConfiguration
. The testFreemarker
template is provided as an example.
Javadoc |
---|
rangeHigherVersion | 5.5 |
---|
className0 | info.magnolia.module.mail.MailTemplate |
---|
renderType | asynchronous |
---|
|
allows for a number of configuration nodes and properties. The following are the most commonly used:
...
templatesConfiguration | required Templates configuration node. |
<template name>
| required Template name. |
attachments
| optional
Javadoc |
---|
rangeHigherVersion | 5.5 |
---|
className0 | info.magnolia.module.mail.templates.MailAttachment |
---|
renderType | asynchronous |
---|
|
provides for a number of attachment options. |
parameters
| optional Any parameters to be passed to the script. |
templateFile
| required Relative path to the template script. |
type
| required Scripting language used in the template. |
contentType
| optional Type of content for the message body. It is only necessary to include this property for HTML emails. |
from
| optional Email address that will appear in the From field of the message, unless defined elsewhere, for example in Form module. |
subject
| optional Subject line of the email, unless defined elsewhere for example in the Form module. |
...
The mimeMultipart
property can be used to define the structure of a
Javadoc |
---|
rangeHigherVersion | 5.5 |
---|
className0 | info.magnolia.module.mail.templates.MgnlMultipartEmail |
---|
renderType | asynchronous |
---|
|
:
Advanced Tables - Table Plus |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
Node name | Value |
---|
| | | | | | | mixed | | http://www.magnolia-cms.com/.imaging/amplify-miami-2014/imageForTeaserBinary/miami.png | | | | related | | http://www.magnolia-cms.com/.imaging/amplify-miami-2014/imageForTeaserBinary/miami.png |
|
...
<attachment name> | optional Attachment name. |
mimeMulitpart
| optional, default is related Defines the structure of a Javadoc |
---|
rangeHigherVersion | 5.5 |
---|
className0 | info.magnolia.module.mail.templates.MgnlMultipartEmail |
---|
renderType | asynchronous |
---|
|
. Values: mixed : Standard email attachment.related : Attachment shown inline.
MailAttachment does not use Content-ID properties but uses attachment names (not file names). |
...