Can I get current user email to fill in the "from" field when i trigger a notification event ?

Hello,

I noticed thanks to the example provided in the studio that the @{from} field was accessible in templating to get access to email sender in template body.

I also noticed that @{CurrentUser} should be considered not to work correctly.

And I don't see any field providing access to a sender address in NotificationDescriptor documentation

I did not either found any topic relating to this problem around here, so sorry if i didn't search well but is there a way to get user acting on the document refered by a notification as I can fill in the “from” field of my email with its address instead of the default sender given by nuxeo.conf ?

Thanks by advance, Antoine

0 votes

1 answers

1164 views

ANSWER



Importing the Nuxeo Routing Default template seems to give a good hint, getting into it…

0 votes