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!
On Thu, May 19, 2011 at 11:31 AM, Andre Durudas <durudasa@gmail.com> wrote:
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):
Mention your drupal version. For html e-mail you need to use Mime Mail module.
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.
These tokens never worked for me in d7 with Actions/Trigger module. -- Sivaji
Thanks Sivaji, thanks Dave, I am actually trying this on both Drupal 6 and Drupal 7. What is the difference between mime mail and htmlmail? Thanks again! On Thu, May 19, 2011 at 8:03 AM, Metzler, David <metzlerd@evergreen.edu>wrote: 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 On Wed, May 18, 2011 at 11:25 PM, sivaji j.g <sivaji2009@gmail.com> wrote:
On Thu, May 19, 2011 at 11:31 AM, Andre Durudas <durudasa@gmail.com> wrote:
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):
Mention your drupal version. For html e-mail you need to use Mime Mail module.
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.
These tokens never worked for me in d7 with Actions/Trigger module.
-- Sivaji -- [ Drupal support list | http://lists.drupal.org/ ]
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@drupal.org [mailto:support-bounces@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/ ]
participants (3)
-
Andre Durudas -
Metzler, David -
sivaji j.g