The 'simplenews' token [simplenews-receiver-name] resolves into the recipient's user name (unless the subscriber is an anonymous user). This does not look well when the user name is different to her real name. To make a perfect personalised newsletter mail, a new token such as [simplenews-receiver-realname] would be required which instead resolves into the recipient's real name.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | simplenews-6.x-2.x_simplenews-receiver-realname.668550.patch | 1.95 KB | roball |
Comments
Comment #1
roball commentedThe attached patch solves this issue. Works fine for me!
Comment #2
sutharsan commentedI have stated before that I will only accept a flexible solution for both anonymous and authenticated users. This patch is a limited solution but does not bring us closer to a grand solution.
Comment #3
roball commentedCan we please discuss this issue further? I think it is very important being able to send out personalized mails. What about exposing the "$account" variable as the object of the recipient user to "simplenews-newsletter-body--[NID].tpl.php" - similar than the existing $node variable? Then we would have great flexibility, and could use something like this:
Comment #4
sgabe commentedSee the Simplenews RealName module.
Comment #5
sgabe commentedSee my previous post.