I am:

  • Using Rules to send a HTML email
  • The Rule runs when the node is saved and it changes from unpublished to published.
  • The node has a custom long_text field called "field_body_text".

In the email Rule, I put the token [field_body_text]. However, the actual email renders it out as Property field_body_text. How can I get the actual contents of the field to appear when I use this token?

In the Display settings for the node, I have made sure under Token*, the field is set to Plain.

*This is located at: mysite.com/admin/structure/types/manage/[my-content-type]/display/token

Comments

frank005’s picture

I'm having this same issue. We have a field called field_request_body that is a Long Text field type with Text area (multiple rows) as the input type. When we have the input set to plain text, the send HTML e-mail displays the field fine but when we set it to filtered HTML, it displays "Property field_request_body".

frank005’s picture

Category: Support request » Bug report
cassien’s picture

I've had that problem today.
Just forgot to configure the token display of the content type. In my case, the field was hidden...

jfurnas’s picture

send HTML mail is an action made available by the mimemail module. This module currently does not support the ability to send filtered or full_html formatted text using tokens in an email.

If you are needing to do this, you will need to use the 'Send e-mail' action.

TR’s picture

Project: Rules » Mime Mail
Version: 7.x-2.9 » 7.x-1.x-dev
Component: Rules Core » Code

As #4 points out, the 'Send HTML e-mail' Rules action is provided by the Mime Mail module.