No view token in body

Created on 5 February 2023, almost 2 years ago
Updated 9 February 2023, almost 2 years ago

I want to send an email to members. I use views send for that. Unfortunately, the views token in the body are not sent. Other tokens are no problem. Anyone recognize this problem?I am using drupal9.

🐛 Bug report
Status

Closed: works as designed

Version

2.0

Component

Code

Created by

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

Comments & Activities

  • Issue created by @raffie
  • Status changed to Postponed: needs info almost 2 years ago
  • 🇳🇴Norway hansfn

    the views token in the body are not sent. Other tokens are no problem

    Hi! What do you mean with "not sent"? That they are not replaced or the mail not sent?

    It would also be helpful that you post the message or tokens you use, that doesn't work for you. And which version of Drupal 9. And if you send directly (batch) or through cron.

    I'm not aware of any problems, but will test myself.

  • mail is sent directly. [views-send:title] in title mail is ok. but does not appear in the body of the email, ajust like the other views-send token. normal text does appear.

    i use drupal 9.5.3

  • 🇳🇴Norway hansfn

    OK, I'll check with Drupal 9.5.3 tomorrow. It at least did work before I added Drupal 10 support ;-)

    Do you have any other mail related modules enabled or are you formatting/sending with Drupal core only?

  • the error is not the mail system. when I create a post I choose the token on the first page. this token also does not appear in the body on the 2nd page before sending

  • it works now.
    I had used the views_send in the same view where the other pages and blocks of this node were. in a new view, with only 1 page with views_send it works perfectly. So always use a new view and don't add a page to an existing view.

  • Status changed to Closed: works as designed almost 2 years ago
  • 🇳🇴Norway hansfn

    I'll close this for now.

    It seem to be an architectural limitation that could be worked-around. I'll add it to "Known issues" section of the documentation.

Production build 0.71.5 2024