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

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.

「いいね!」 4

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.

これについて進展はありますか?

特に、「これらのメールの購読を解除するには、こちらをクリックしてください」という文言をハードコードするのではなく、削除することは可能でしょうか?

いくつかのユーザーは、他のフォーラムのメールによくある「該当の投稿をオンラインで閲覧するには、こちらをクリックしてください」といった文言と非常によく似ているため、誤って「こちらをクリック」を押してしまいます。私の場合、これは特に厄介です。なぜなら、このプライベートフォーラムでは、メンバーが実際に購読を維持する義務があるからです。

「いいね!」 2

@neil@awesomerobot が、より良いテーマ対応のためのメールサポートの全面刷新に取り組んでいますので、この件はそちらの作業で対応できる可能性があります。

「いいね!」 2

なるほど、つまり現状では上記はコードの修正が必要ですね。

コードではなく、テンプレートに「配信停止はこちらをクリックしてください」という文言を含めてください :slight_smile:

「いいね!」 2

今日はこれを修正しました(https://github.com/discourse/discourse/commit/34f564acd657440b686c7feaef9f471272fc4b54)。この修正により、トピックや返信に関する通知のカスタマイズされた件名が使用されるようになります。

管理者画面から「unsubscribe_link」のテキストをカスタマイズしてリンクを削除できます。これはすべての場所に追加されるため、テンプレートの一部ではありません。

「いいね!」 5

このトピックは26時間後に自動的に閉鎖されました。新しい返信は受け付けられません。