- Issue created by @navneet0693
- Merge request !85Issue #3517875 by navneet0693: Token replacement leads to Anonymous user or... → (Open) created by navneet0693
When a user invites people to join the basic course, there will be an email sent to the recipient. However, there is an issue on the email signature that written on email body:
1. If email already registered as a user: email signature is written by the recipient name, instead of sender name.
2. If email is not yet registered as a user: no recipient name on the on email body and no email signature (sender name)
1. Access a course page
2. Go to “manage member” tab
3. Click on “Add member” button on the top right corner, choose “invite users”
4. Input the email address of recipient
5. Then send the invitation
6. Check the email
During Open Social's move from Swift Mailer to Symfony mailer. The token [current-user:display-name]
was replaced with [user:display-name]
in invite_subject and invite_message.
This was somehow missed for Social Courses. We need to replace those tokens.
Active
6.2
Code