Are formatted text variables supposed to work via tokens e.g. in send mail body?

I only seem to get tokens for plain "text" variables [textvariable:value]

but unfortunately using them inside HTML mail body the HTML tags are not included e.g. <b> <br>,
i take they are pre-rendered and thus stripped prior being used in an HTML body field, which is why I'm thinking that I probably would need to use formatted text variables instead?

I already tried simply using the token e.g. [formattedtextvariable:value] and [formattedtextvariable:format] but remain empty.

Comments

markusd1984 created an issue. See original summary.

tr’s picture

Status: Active » Fixed

Drupal core doesn't support HTML email - you will need a contributed module that adds HTML email support to Drupal.

See for example https://www.webwash.net/how-to-send-html-emails-in-drupal-7-using-rules/

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

vmkazakoff’s picture

Unfortunately this issue is not fixed. And problem is not in MIMEmail module.

If we set up new component with "formatted text" property, we cannot get this text: nor [text] or [text:value] did not work.