Skip to content

E-Mail - var [User] not working since v1.0.x #14609

@tars21

Description

@tars21

Description:

After updating from 0.74.3 to 1.0.3 E-Mail header and subject are changed. The used (default) variable [User] is not set anymore.

Steps to reproduce:

End a message while offline and receive an e-mail.

Expected behavior:

Expect an e-mail with the subject
[Chat] You have been direct messaged by John Doe
and sender:
John Doe <[email protected]>

Actual behavior:

Get an e-amil with the subject
[Chat] You have been direct messaged by
and sender:
undefined <[email protected]>

Server Setup Information:

  • Version of Rocket.Chat Server: 1.0.3
  • Operating System: Debian Stretch
  • Deployment Method: tar
  • Number of Running Instances: 3
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: 8.11.4
  • MongoDB Version: 3.2.11

Additional context

The box "Direct Message Email Subject" in E-Mail -> Subject has the default:
[[Site_Name]] You have been direct messaged by [User]

Relevant logs:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions