I've installed mail system and stmp modules and ive initialised stmp to allow html emails at

https://latest.syntapse.co.uk/admin/config/system/smtp

Allow to send e-mails formatted as HTML = checked

ive created a reaction rule to send system|email to a recipient list (this bit works!).

the email message body looks like this:

title = <h1>text defined in the rules action</h1>
node body = {{ node.body.value }}

the node.body looks like this:

<h1>text defined in the node body</h1>

expected result:

two nicely formatted headings in an email.

actual result

title = <h1>text defined in the rules action</h1>
node body = &lt;h2&gt;text defined in the node body&lt;/h2&gt;

thanks

Comments

Syntapse created an issue. See original summary.

Syntapse’s picture

Title: html emails not working. » html email formatting is not working.
tr’s picture

Status: Active » Closed (works as designed)
Syntapse’s picture

Status: Closed (works as designed) » Active

Hi how does this works as designed please?

Is it possible that you can stop closing issues immediately they are open without justification. I appreciate that you are the maintainer of this module and all, but none of its going to work without thorough testing and closing down issues without justification is not a great motivation for testers and site-builders trying to establish what works and what doesn't.

If Rules html email works as designed please can you explain how to use it correctly to achieve formatted emails using Rules.

Thanks

tr’s picture

Status: Active » Closed (works as designed)

I'm not your personal search engine. This works as it always has worked, and as all the documentation says it should work, going back to Drupal 6. And it has been explained and discussed many times here in the issue queue.

Syntapse’s picture

Status: Closed (works as designed) » Active

In an attempt to maintain neutrality please can you at least explain why html formatting not working in Rules is "works as designed" without resorting to aggravated remarks? Is it simply not designed to? Does it require additional module?

thanks

Syntapse’s picture

Status: Active » Closed (duplicate)