Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.7.1, 3.0, 3.2
-
Unknown
-
N/A
-
N/A
-
Description
When trying to share a wiki page by email 'Sender Email Address' is set to: $!
{request.localName}#set ($sender = $xwiki.getUserName($context.user, false))
#set ($sender = "$sender <noreply@$!{request.localName}
>")
It should be set to: $!
{request.serverName}The same for body email content:
Hello ${recipientName},
${xwiki.getUserName($context.user, false)} thought you might be interested in the document "$!{escapetool.xml(${doc.displayTitle})}" (${doc.getExternalURL()}) on ${request.getLocalName()}.
${request.getLocalName()} must be replaced with $!{request.serverName}