How to change content of notification mail

Created on 3 August 2022, over 2 years ago
Updated 18 June 2023, over 1 year ago

Problem/Motivation

I'm using danse and want to change the content of the notification e-mail.

Steps to reproduce

Hi,
I installed danse, push_framework, pf_email and advancedqueue. I setup notifications by e-mail when adding a new comment, which is working perfect. Only the notification e-mail content is strange. Is there any possibility to change the content of this notification e-mail? Or in other words, how can I add or remove tokens to/from the push-object)? Many thanks for any hint.

💬 Support request
Status

Fixed

Version

2.1

Component

Miscellaneous

Created by

🇩🇪Germany muppel

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇩🇪Germany Sajara

    I've got a very similar problem related to the [push-object:content] token. I'm using push-framework version 2.2.8 together with danse, push-pf-email and symfony mailer. At least the mails already arrive at all, but their content isnt satisfying me yet.

    In opposite to the original creator of this topic here, I want my users to be notified about new forum topics and their related comments.
    Now my problem is that I always want my users to know the title of the new content and in which forum it was published and a direct link to either the comment or the main topic, depending what was published last.

    Even configuring the display modes (token) for both, forum comment and forum topic identically as a list of as well new forum topics and new comments, I only get shown "So., 18.06.2023 - 17:40 Permalink and the comment/topic title" as only replacement for the [push-object:content] token.

    I even manually ran the layout builder cron before running the danse cron, advanced queue cron and as last one push-framework cron.
    But getting always this same annoying result.

    I dont have any idea anymore how to solve that challenge.
    I'm not competent to write any own module or php script yet btw. (at least I'm able to use drush and composer and edit any files.)

    A big thanks in advance for any hint.

Production build 0.71.5 2024