Changes for page Mail Sender API
Last modified by Admin on 2024/03/29 01:18
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- ExtensionCode.ExtensionClass[0]
-
- Description
-
... ... @@ -215,7 +215,7 @@ 215 215 * ##default##: Creates a text Message Body Part. 216 216 * ##text/html##: Creates an HTML BodyPart that supports a text alternative and a list of attachments that will be added to the mail as standard attachments and also as embedded images if they are referenced in the passed HTML using the format {{code language="none"}}cid:(attachment name){{/code}}. 217 217 * ##xwiki/attachment##: Creates an attachment Body Part from an ##Attachment## object. 218 -* ##xwiki/template##: Creates an Body Part from a Document Reference pointing to a Document containing an ##XWiki.Mail## XObject (the first one found is used). 218 +* ##xwiki/template##: Creates an Body Part from a Document Reference pointing to a Document containing an ##XWiki.Mail## XObject (the first one found is used). Note that when evaluating Velocity in Mail Templates, the Execution Context used is a clone of the one that was available when the ##send*(...)## method was called. Thus all Velocity bindings that were present are available from your Mail Template (##request##, ##xwiki##, ##services##, Velocity Tools, etc). 219 219 220 220 == Specialized Message Factories == 221 221