Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
6.4.4, 7.1
-
None
-
Unknown
-
Description
When using TemplateMimeMessageFactory in combination with UserAndGroupMimeMessageIterator, there is actually no way to have information in the template about the current recipient user of the message being generated.
The TemplateMimeMessageFactory does not pass the only information it has in velocity variable about the target address (the only information it has), but more, the UserAndGroupMimeMessageIterator should provide the User object to the MimeMessageFactory, so that in the case of the TemplateMimeMessageFactory, more complete information about the recipient, like the fullname of the user could be accessible as well.
Attachments
Issue Links
- blocks
-
XWIKI-11786 Use the new Mail Sender API for the Share Page By Mail feature
- Open