Two (2) of the tokens I use in the PM notification email are not properly handled.

The token [privatemsg_message:original:author:name] is not substituted for at all.

The token [privatemsg_message:url] is substituted by the word 'Array'.

See the attached screen captures.

Private message notification email.png56.04 KBAnonymous (not verified)
Private message email settings.png165.51 KBAnonymous (not verified)


funtik44’s picture


ptmkenny’s picture

Version: 7.x-1.3 » 7.x-2.x-dev

I have confirmed that on the latest dev version (2013-May-25), the privatemsg_message:original tokens are not substituted properly (they appear as plaintext; I confirmed both original:author:name and original:body).

However, [privatemsg_message:url] appears properly.

May I ask why you are trying to use [privatemsg_message:original:author:name] instead of [privatemsg_message:author:name]?

Of course obviously, if the module provides a token that token should work.

ptmkenny’s picture

Title: Some email tokens are not properly substituted for » [privatemsg_message:original:xxx] tokens are not substituted properly
zulfierken’s picture

Version: 7.x-2.x-dev » 7.x-1.4

I have the same problem

To read your message, follow this link:

shown as
To read your message, follow this link:

I am using the latest version 7.x.-1.4

ptmkenny’s picture

Version: 7.x-1.4 » 7.x-2.x-dev

Since the issue is present in all current versions of Privatemsg, it should be fixed in dev first.