Bug: changing the email subject for some templates is ignored

I changed the subject for the “User Posted PM” email template to [%{email_prefix}] [PM] %{username} sent you a private message but it is ignored and is still using [%{email_prefix}] [PM] %{topic_title}

Using 1.8.0.beta9. Editing other email template subject lines seems to work, this one is ignored.

Also, the line To unsubscribe from these emails, click here. is always added at the end of the message, regardless of what I put in the template body. Can we fix that too and allow us to change it (or even remove it)?

1 Like

I strongly recommend that you consult a lawyer before you attempt to remove an “unsubscribe”

And you still must include information on how to opt out of receiving future email and honor opt-out requests promptly

As for username vs. topic_title that very well could be a bug if you are certain you are editing the correct template.

I was afraid someone would pick on that aspect :slight_smile: … it’s private company forum where everyone is actually obliged to be signed-up and participate.


I also report that this bug happens and its not fixed. I am trying to remove prefix from the subject of emailed PM and I used %{topic_title} as the subject. However its not changed. I can see that many other email templates are the same.

I also tried text customization section and it didn’t change the subject. I think I was only able to change digest email subject.

Any progress on this?

In particular, can the line “To unsubscribe from these emails, click here” be removed rather than have it hardcoded?

Some of us click that “click here” by mistake as it’s too similar to emails from other forums which include a link saying “to view the respective post online, click here” (or similar) so folks click it out of instinct. In my case it’s extra annoying as it’s a private forum where members actually need to (as in obliged to) stay subscribed.


@neil and @awesomerobot are working on overhauling our email support for better theming, so this can possibly be addressed with that work.


I see, so for now the above requires code hacking.

Do please include the “to unsubscribe please click here” text in the template rather than code :slight_smile:


I fixed this one today. Customized email subjects for notifications about topics and replies will be used with this fix.

You can customize the “unsubscribe_link” text from admin to remove the link. It’s added everywhere, so it’s not part of templates.


This topic was automatically closed after 26 hours. New replies are no longer allowed.