[support] HTML in system emails?

Metzler, David metzlerd at evergreen.edu
Thu May 19 15:03:40 UTC 2011


Drupal, by default sends plain text emails.  To chage this behavior to
use html mail, check out the html mail project at: 

http://drupal.org/project/htmlmail

Please note dependencies... on Autoload (d6) and Mail System (d6 and
d7). 

Dave

-----Original Message-----
From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
Behalf Of Andre Durudas
Sent: Wednesday, May 18, 2011 11:01 PM
To: support
Subject: [support] HTML in system emails?

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!
-- 
[ Drupal support list | http://lists.drupal.org/ ]


More information about the support mailing list