Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 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:
    • attachments: MailAttachment 
      Javadoc resource link
      rangeHigherVersion5.4
      classNameinfo.magnolia.module.mail.templates.MailAttachment
      renderTypeasynchronous
      provides for a number of attachment options. 
    • parameters: Any parameters to be passed to the script.

      Advanced Tables - Table Plus
      enableHeadingAttributesfalse
      enableSortingfalse
      classm5-configuration-tree
      enableHighlightingfalse


      Node nameValue

      Mgnl f
      config

       

      Mgnl f
      templatesConfiguration

       

      Mgnl n
      testFreemarker

       

      Mgnl n
      attachments

       

      Mgnl n
      parameters

       

      Mgnl p
      contentType

      html

      Mgnl p
      from

      testfreemarker@example.com

      Mgnl p
      subject

      This is a test email for freemarker template

      Mgnl p
      templateFile

      testFreemarker.html

      Mgnl p
      type

      freemarker

      Mgnl n
      pageCommentsNotification

       



...