[support] HTML in system emails?

Andre Durudas durudasa at gmail.com
Thu May 19 06:01:00 UTC 2011


Hello,

I am confused about how to send formatted system emails via 
Actions/Trigger or Rules in Drupal. I just would like to do some basic 
formatting like <p> or <br>, <strong> and <em>. But when I type those 
in, they show up in the text without the formatting. And when I just use 
'returns' to create some line breaks, only some of them actually show up 
in the emails. For example, I have the following message set up to be 
send via Actions (The line breaks are shown exactly as in the message 
field):


[current-user:name] has created [node:content-type].


[node:title]


[node:body]



When sent, the empty lines between [current-user:name] and [node:title] 
show up, but the ones between [node:title] and [node:body] do not, the 
text of the body comes right after the title.

Any ideas?
Thanks a bunch!


More information about the support mailing list